.htaccess Question...

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
Watch

devanium

Established Member
Impact
0
This is probably a stupid question, but my current root directory .htaccess file looks like this:

-------------------------------------

Options All -Indexes
#ErrorDocument 404 /index.php?error
ErrorDocument 404 /404.php

RewriteEngine On

RewriteRule ^category/([0-9]+).html/?$ index.php?category=$1 [L]
RewriteRule ^news/([0-9]+).html/?$ index.php?news=$1 [L]
RewriteRule ^print/([0-9]+).html/?$ print_version.php?id=$1 [L]
RewriteRule ^pdf/([0-9]+).html/?$ pdf_version.php?id=$1 [L]
RewriteRule ^comments/([0-9]+).html/?$ index.php?comments=$1 [L]
RewriteRule ^author/([^<]+).html/?$ index.php?author=$1 [L]

RewriteRule ^([^.]+)/?$ index.php?category_name=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^<]+)/([^<]+).html/?$ index.php?news=$2 [L]

-------------------------------------

Now, I just installed a new script (phpadsnew), and it's giving me a 404 error. How can I modify the .htaccess to allow access to this new script?

Any help would be greatly appreciated! Thanks!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Appraise.net

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

New in Parking: updated way to act on many domains or inquiries at once
Your domain list and inquiry list now have a bar above and below the list. Check the items you want, then choose an action in the bar...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back