1
vote
0answers
102 views

htaccess, errordocument and joomla rewrite

I need to setup a 404 error handling in my .htaccess, besides handling some 301 redirects for the links of an old website. The new site is made with Joomla, the old site was written in asp. Sef urls ...
1
vote
2answers
163 views

Apache2 - rewrite a bunch of specified pathname URLs to one URL

I need to rewrite a bunch of urls (about 100 or so) for SEO purposes, and there may be more being added in the future (probably another 50-100 later on). I need a flexible way of doing this and so ...
2
votes
1answer
163 views

How can I 301 redirect all traffic from one URL pattern to another?

I’ve been grappling with a basic rewrite rule as we’ve changed a template name from template-a to template-b and need to 301 all links to the new template-b URLs. Example: ...
1
vote
3answers
752 views

Is it possible to remove the .php extension WITHOUT using mod_rewrite?

I'm managing an e-commerce site for a customer that was built using JShop on Apache. For SEO reasons links are like: http://www.domain.com/shop/section/3151/1/flowers ...
2
votes
2answers
201 views

Is there an advantage to redirecting vs rewriting when “hiding” the 'www' domain prefix?

Using virtual hosts I have gotten into the habit of using this: <VirtualHost: *:80> ServerName www.example.com Redirect permanent / http://example.com/ </VirtualHost> Yet I ...