SEF issue on Joomla sub-folder site

Suoritettu Julkaistu 5 vuotta sitten Maksettu toimituksen yhteydessä
Suoritettu Maksettu toimituksen yhteydessä

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.

CSS HTML Joomla Linux PHP

Projektin tunnus: #17176721

Tietoa projektista

1 ehdotus Etäprojekti Aktiivinen 5 vuotta sitten

Myönnetty käyttäjälle:

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. Lisää

$25 USD 1 päivässä
(55 Arvostelua)
5.5