Mobile app version of vmapp.org
Login or Join
Murphy175

: I think I don't properly understood your question, but here is an excerpt from my .htaccess after moving a site from one CMS installation to another: # redirect a single page (in this case

@Murphy175

I think I don't properly understood your question, but here is an excerpt from my .htaccess after moving a site from one CMS installation to another:

# redirect a single page (in this case the one with category ID 38)
RewriteCond %{REQUEST_URI} ^[/]?[cms/]+front_content.php$ [NC]
RewriteCond %{QUERY_STRING} ^.*idcat=38.*$ [NC]
RewriteRule ^(.*)$ index.php?q=12 [R=301,L,NC]

# …a bunch of other redirects (for about 20 pages)

# redirect all other old URLs to the homepage
RewriteCond %{REQUEST_URI} ^[/]?[cms/]+front_content.php$ [NC]
RewriteRule ^(.*)$ index.php? [R=301,L,NC]

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Murphy175

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme