Webmastersite.net
Register Log In

Rewrite Question
Rewrite isnt working..

Comments on Rewrite Question

mattius
Beginner

Usergroup: Customer
Joined: Oct 25, 2005

Total Topics: 3
Total Comments: 8
mattius
Posted Oct 25, 2005 - 12:29 AM:

Sorry to ask this question again, im sure its been asked a billion times, but i cant seem to get it too work.

My site is dnresearch.info

I have Directory URL set too:
http://dnresearch.info

I have rewrite switched to "yes" in the search & seo settings, and category names in URL also switched to "yes".

My htaccess file has been renamed to .htaccess and within it i have the standard code including:

#RewriteBase /

It is still commented exactly as above.

My wsnlinks install is installed in the main folder, not a subfolder, so the above should work..

I know this question has been asked before, and I apologize for treading old ground, but despite the answers given so far on the forum it isnt working.

Do i have something wrong?
spiceworld
Member

Usergroup: Customer
Joined: Oct 05, 2005

Total Topics: 10
Total Comments: 35
Posted Oct 25, 2005 - 2:51 AM:

Hi

If i'm right and i might not be, you need to remove the # from infront of it.

Hope it works

Cheers
mattius
Beginner

Usergroup: Customer
Joined: Oct 25, 2005

Total Topics: 3
Total Comments: 8
mattius
Posted Oct 25, 2005 - 3:50 AM:

Tried that and unfortunately no luck smiling face.

Thanks for the input though.
spiceworld
Member

Usergroup: Customer
Joined: Oct 05, 2005

Total Topics: 10
Total Comments: 35
Posted Oct 25, 2005 - 4:22 AM:

Hi

Mine is setup the same as yours, my .htaccess file is as follows:



Options +FollowSymlinks
RewriteEngine on

# If not working, uncomment and correctly fill the line below:
RewriteBase /

RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]

RewriteRule ^admin$ admin/index.php
RewriteRule ^admin/$ admin/index.php

RewriteRule ^links/([a-z]+)/([0-9]+)/?$ link.php?action=$1&id=$2
RewriteRule ^links/([0-9]+)/?$ link.php?id=$1

RewriteRule ^thread/([0-9]+)/?$ comments.php?id=$1
RewriteRule ^thread/([0-9]+)/([0-9]+)/?$ comments.php?id=$1&page=$2

RewriteRule ^([0-9]+)/?$ index.php?action=displaycat&catid=$1
RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?action=displaycat&catid=$1&page=$2

RewriteRule ^([-_/+A-Za-z0-9]+)$ index.php?action=displaycat&catname=$1

RewriteRule ^links/([-_/+A-Za-z0-9]+)-([0-9]+).html$ link.php?action=detail&id=$2



Cheers
mattius
Beginner

Usergroup: Customer
Joined: Oct 25, 2005

Total Topics: 3
Total Comments: 8
mattius
Posted Oct 25, 2005 - 4:28 AM:

Ya its strange...still isnt working. Perhaps its a hosting issue. I'll see if Paul can help me when he checks the thread. If not i think i might have to get onto my hoster.

Like the script so far...lots of power under the hood. Although the manual is a bit astray when it comes to sponsorship
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 25, 2005 - 12:46 PM:

Try uncommenting the rewrite base
mattius
Beginner

Usergroup: Customer
Joined: Oct 25, 2005

Total Topics: 3
Total Comments: 8
mattius
Posted Oct 25, 2005 - 1:43 PM:

Hi Paul,

Ya i tried that, its exactly how spiceworlds is above, and still the same problem. Im gonna contact my host about that and an email issue.
mattius
Beginner

Usergroup: Customer
Joined: Oct 25, 2005

Total Topics: 3
Total Comments: 8
mattius
Posted Oct 26, 2005 - 2:48 PM:

Update grin

LOL it was the lousy . in front of htaccess, i didnt notice that until I looked at that file 80328403284 times smiling face. Soon as i had it .htaccess, instead of just htaccess which is doing nothing, everything was right.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.