Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Yet another rewrite problem (?) again
#1
Sad 
Scenario:
GetSimple CMS has been moved from one folder to another on the same server via FTP. It's at the final destination, the URL has changed. URL has been updated accordingly in admin/settings.

Problem:
Suddenly every page except the home page throws a 404. Example: www.url.com/contact used to work fine. Now ends up a 404 not found. Do I smell a rewrite problem?


Checked:
- Website health shows no issues (including mod_rewrite option being active)
- Fancy URL option in admin/settings is checked and active with the default %parent%/%slug%/
- Respective page exists, custom page slug is entered
- A different fancy URL setting like ?id=%slug% works fine
- .htaccess looks like this:

Quote:# handle rewrites for fancy urls
<IfModule mod_rewrite.c>
RewriteEngine on

# Usually RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
</IfModule>

I tried replacing the base dir value like this:

Quote:RewriteBase /name-of-my-dir/

Though that didn't help either

I found older threads about similiar problems, however, couldn't find one with a working solution. Probably me ...

Any help appreciated!
Reply


Messages In This Thread
Yet another rewrite problem (?) again - by Bolkonskij - 2022-12-14, 21:42:53



Users browsing this thread: 1 Guest(s)