Mobile app version of vmapp.org
Login or Join
Caterina187

: Strange - I used to host on 1&1, and never had a problem with rewrites... but it doesn't sound like their support are being particular helpful. First off - get them to confirm that mod_rewrite

@Caterina187

Strange - I used to host on 1&1, and never had a problem with rewrites... but it doesn't sound like their support are being particular helpful.

First off - get them to confirm that mod_rewrite is enabled (the reason /internships may be working is because they enable mod_negotiation which looks for a best match if it doesn't find the correct one - so mod_negotiation is loading internships.php and not mod_rewrite).

A really quick check is if you access the site as mysite.com - do you get redirected to mysite.com? That should confirm it either way.

One thing though - can you make it clearer if mysite.com/internships/photography is directing you to internships or to a 404?

Update:

I never set the RewriteBase - I recommend disabling that, and placing a leading / in front of your RewriteRule patterns... maybe even try without the ^

Also, I suggest escaping the - and _ in your patterns: ([A-Za-z0-9_-]+)

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Caterina187

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme