-
☆ A M B ☆
- 205 Posts
Good day all!
I've installed MODX (v2.4.2) on subdirectory for staging the site before launch (Ex: rootdomain.com/staging). It's a fresh install in that location. For some reason, perhaps I overlooked a step in the setup, the links in the navigation (first tried static then pdoMenu) redirect to rootdomain.com vs going to their respective rootdomain.com/staging/pagename.html.
The links themselves are outputting correctly (rootdomain.com/staging/pagename.html) but when clicked, they redirect. Is this something in the htaccess, system setting? Basehref is also outputting correctly (rootdomain.com/staging/).
Thanks for taking the time to review the issue.
Sal Baldovinos
SEO & DIGITAL MARKETING
ARIEL DIGITAL | Maximize Your Potential
www.arieldigitalmarketing.com
-
☆ A M B ☆
- 205 Posts
Quote from: iusemodx at Jan 22, 2016, 04:21 PMHave you modified the "RewriteBase" in the .htaccess to reflect the folder ?
example:
RewriteEngine On
RewriteBase /staging/
I did try that too with no luck. Not seeing an htaccess file at the root level either.
Sal Baldovinos
SEO & DIGITAL MARKETING
ARIEL DIGITAL | Maximize Your Potential
www.arieldigitalmarketing.com
-
☆ A M B ☆
- 205 Posts
Quote from: mayhemchaos at Jan 22, 2016, 04:39 PMQuote from: iusemodx at Jan 22, 2016, 04:21 PMHave you modified the "RewriteBase" in the .htaccess to reflect the folder ?
example:
RewriteEngine On
RewriteBase /staging/
I did try that too with no luck. Not seeing an htaccess file at the root level either.
I take that back ... root level had and I just now added "#" and it's still not working.
#RewriteEngine on
# Don't apply to URLs that go to existing files or folders.
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^(.*)$ http://www.domainname.com/? [R=permanent,L]
Sal Baldovinos
SEO & DIGITAL MARKETING
ARIEL DIGITAL | Maximize Your Potential
www.arieldigitalmarketing.com