Fertiggestellt

SEF issue on Joomla sub-folder site

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.

Fähigkeiten: CSS, HTML, Joomla, Linux, PHP

Mehr darüber joomla site code injection, copy joomla site subdomain main, matrimony site code joomla, what is sef joomla, system sef joomla, sef rewrite, joomla rewritebase, nginx joomla sef, seo friendly url joomla, joomla seo urls, joomla mod_rewrite, matrimonial site jsp main project code, clean joomla site code, joomla remove site code validator, joomla show module site, joomla changes third party code, joomla soccer club site, changing sef urls joomla, joomla social bookmarking site, joomla sport club site

Über den Arbeitgeber:
( 2 Bewertungen ) Citrus Heights, United States

Projekt-ID: #17176721

Vergeben an:

elliotwebdesign

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: http://www.upwork. Mehr

$25 USD in 1 Tag
(55 Bewertungen)
5.5