I was looking at it again.. and may be it supposed to be like that, I just see something like this first time.
If the htaccess file is correct, how I can keep full path with category names in it for the links details page? Right now it looks like this wsnlinks//Home-Listings-Arizona-2008.html
Paul wrote: Double slashes usually indicate you have your directory url set with a trailing slash in the system settings.
1. I ran some tests and since www.domain.com/wsnlinks redirects to www.domain.com/wsnlinks/ these lines are conflicting and producing double slashes after wsnlinks:
2. Also, when "Combine detail and comments pages" switch is on, detail link redirects to comments.php?id=x type of link. So, I duplicated the detail page rewrite rules and matched them to comments - it works. Of course if I switch back to not to combine details and comments - then details links being redirected to comments. So, I think there should be a condition on SEO Settings page that would check if comments are combined with link details or not and based on that write rules into htaccess since you don't have to have both in there.
3. Looks like there is a rule missing for categorty pagination when there are more categories than allowed to show on a single page. The first page is fine, but the rest look like this:
2. Also, when "Combine detail and comments pages" switch is on, detail link redirects to comments.php?id=x type of link.
No, when you have rewriting on the link details url is rewritten as normal and directly shows the comments. See the links.webmastersite.net already linked above, I have them combined. Perhaps you changed the switch after setting rewriting, so that it hasn't had a chance to write a new htaccess. Submit the SEO page.
3. Yes, category pagination isn't handled by rewriting. I wasn't aware of anyone using it.
2. Also, when "Combine detail and comments pages" switch is on, detail link redirects to comments.php?id=x type of link.
No, when you have rewriting on the link details url is rewritten as normal and directly shows the comments. See the links.webmastersite.net already linked above, I have them combined. Perhaps you changed the switch after setting rewriting, so that it hasn't had a chance to write a new htaccess. Submit the SEO page.
Ok, I see now. But here is the problem. Your rewrite rule for the comments is this:
Now everything is working fine. I don't have double slashes nor 404 error page.
As for item #3 in previous post - I just stumbled on it since I had more than 40 categories, which is set by default in the fresh installation, otherwise I don't break them into separate pages.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on htaccess encoding problem
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
I noticed I'm getting double slashes when going to link details page:
wsnlinks//Home-Listings-Arizona-2008.html
I checked .htaccess and here is what I found:
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
I was looking at it again.. and may be it supposed to be like that, I just see something like this first time.
If the htaccess file is correct, how I can keep full path with category names in it for the links details page? Right now it looks like this wsnlinks//Home-Listings-Arizona-2008.html
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Double slashes usually indicate you have your directory url set with a trailing slash in the system settings.
how I can keep full path with category names in it for the links details page?
There's never been an option for that as far I can recall.
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
Double slashes usually indicate you have your directory url set with a trailing slash in the system settings.
1. I ran some tests and since www.domain.com/wsnlinks redirects to www.domain.com/wsnlinks/ these lines are conflicting and producing double slashes after wsnlinks:
I removed the starting slashes and everything worked out fine. So, this is how it works for me:
2. Also, when "Combine detail and comments pages" switch is on, detail link redirects to comments.php?id=x type of link. So, I duplicated the detail page rewrite rules and matched them to comments - it works. Of course if I switch back to not to combine details and comments - then details links being redirected to comments. So, I think there should be a condition on SEO Settings page that would check if comments are combined with link details or not and based on that write rules into htaccess since you don't have to have both in there.
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
3. Looks like there is a rule missing for categorty pagination when there are more categories than allowed to show on a single page. The first page is fine, but the rest look like this:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I don't see any problem. See http://links.webmastersite.net -- I can't find any double slashes, and the .htaccess is
2. Also, when "Combine detail and comments pages" switch is on, detail link redirects to comments.php?id=x type of link.
No, when you have rewriting on the link details url is rewritten as normal and directly shows the comments. See the links.webmastersite.net already linked above, I have them combined. Perhaps you changed the switch after setting rewriting, so that it hasn't had a chance to write a new htaccess. Submit the SEO page.
3. Yes, category pagination isn't handled by rewriting. I wasn't aware of anyone using it.
Forum Regular
Usergroup: Customer
Joined: Oct 30, 2003
Total Topics: 54
Total Comments: 197
2. Also, when "Combine detail and comments pages" switch is on, detail link redirects to comments.php?id=x type of link.
No, when you have rewriting on the link details url is rewritten as normal and directly shows the comments. See the links.webmastersite.net already linked above, I have them combined. Perhaps you changed the switch after setting rewriting, so that it hasn't had a chance to write a new htaccess. Submit the SEO page.
Ok, I see now. But here is the problem. Your rewrite rule for the comments is this:
In my SEO settings format for link details I believe by default was this:
I changed it to:
it created double slashes after wsnlinks folder.
I removed the beginning slash:
now it gives me 404.
Here is what I get in the .htaccess:
Comparing it to your rewrite rule I removed the ^{LINKTITLE}-{LINKID}.html/ part and got this:
Now everything is working fine. I don't have double slashes nor 404 error page.
As for item #3 in previous post - I just stumbled on it since I had more than 40 categories, which is set by default in the fresh installation, otherwise I don't break them into separate pages.