I have a main site, which is actually just a single landing page - https://www.norcalpulse.com. Below that, in a separate folder (not sub-domain) I have a site devoted to the Humboldt (CA) county - [login to view URL]
I'm think this contributes to the issues I'm having. Normally, in .htaccess, I have this code:
# 301 redirects
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.html?\ HTTP/
RewriteRule ^(([^/]+/)*)index\.html?$ [login to view URL]$1 [R=301,L]
#
RewriteCond %{THE_REQUEST} !^POST
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.php\ HTTP/
RewriteCond %{SERVER_PORT}>s ^(443>(s)|[0-9]+>s)$
RewriteRule ^(([^/]+/)*)index\.php$ http%2://[login to view URL]$1 [R=301,L]
#
RewriteCond %{HTTP_HOST} !^(www\.domainname\.com)?$
RewriteRule (.*) [login to view URL]$1 [R=301,L]
# End 301 redirects
However, I'm not sure how to format the URLs in the Rewrite lines when using a sub-folder. Currently, I DON'T have that in the .htaccess for the sub-folder domain. I have a stab at adding the sub-folder and it just made the site inaccessible.
I have SEF and URL rewriting turned on on the main landing page (though the issue I'm having is unaffected whether they are on or off), however, I get 2 different issues depending on whether I have SEF and URL Rewriting on or not for the sub-folder site.
1. BOTH ON - In this case, the sub-folder site opens correctly to its home page. If you mouse over a menu item, the correct URL for that item shows in the pop up at the bottom of the browser. However, clicking ANY menu item redirects you back to the landing page site.
2. SEF ON, URL REWRITING OFF - The home page of the sub-folder site resolves correctly, however, SOME images do not show, and, on inspection have a URL of images/image_name.jpg. The ones which do display are humboldt/images/image_name.jpg.
3. BOTH OFF - Everything is fine and dandy apart from ugly URLs.
While I use sub-folders all the time for development, I always have both settings off while developing so have never encountered this problem before.
Client:
Estimated cost for task requested would be $25
Feel free to contact me for further info or to discuss the project.
Other than my freelancer experience I have about 400 jobs on Upwork: [login to view URL]
Work will be done with live links; therefore you will be able to see the progress at anytime.
I work full time and I have flexible hours; therefore you will be able to contact me at any time, by workroom, mail or Skype. Open to other methods. I am fluent in written and spoken English.
Skype: “elliotwebdesign”.
These are examples of my work:
E commerce:
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
One page layout:
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
Brochure:
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
[login to view URL]
Any doubts, please feel free to contact me.
Looking forward to read from you.
Elliot.