There seem to be some issues with the SEO admin page. If everything is working fine, then you submit the form without changing anything, the URL re-writing breaks. Submit the form a 2nd time without changing anything and it works again.
Anyway when everything else is working OK, the Link Details pages cannot be found. Go to http://www.gowesleychapel.com/directory/Automotive/ and hover on "sponsor 1". The details URL appears correctly as "http://www.gowesleychapel.com/directory/sponsor_1.html" but it can't find the Details page when you click on it.
Also the custom rewriting doesn't seem to work at all. Hover over "Sitemap" at the bottom of the page and see for yourself.
Here's the contents of .htaccess, located in ".com/directory/"
It only seems to work when: "Name to use for link details:" is "links" AND "Format for link details rewriting:" begins with "links/".
Replacing these with anything but "links" doesn't work on my site.
It also seems that "{LINKTITLE}-{LINKID}.html" is the required terminator. I tried to use "links/{LINKTITLE}/{LINKID/" and couldn't get that to work. Also tried "links/{LINKTITLE}/{LINKID}.html" and no luck. Also tried "links/{LINKTITLE}_{LINKID}.html".
If I'm doing something wrong, maybe you could explain all the settings in depth for me. Thanks for your help.
You can change to something other than links/ if you edit your .htaccess, which is of course why there's the * next to it with the "warning: if you change these you'll have to change your .htaccess." You can't, however, change it to something that doesn't give a link id anywhere since there's no way to know what link it'd mean.
Thought that you had said something about Links 4.0 handling the .htaccess changes for you. Must have been mistaken, but got it to work with a little trial and error in .htaccess.
RC1 seems to have taken care of most of the problems. But I still can't use custom rewrites (sitemap.php for example). Could it be something with my server?
Comments on URL rewrite issues
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
There seem to be some issues with the SEO admin page. If everything is working fine, then you submit the form without changing anything, the URL re-writing breaks. Submit the form a 2nd time without changing anything and it works again.
---------------------------------------------------------------------
Anyway when everything else is working OK, the Link Details pages cannot be found. Go to http://www.gowesleychapel.com/directory/Automotive/ and hover on "sponsor 1". The details URL appears correctly as "http://www.gowesleychapel.com/directory/sponsor_1.html" but it can't find the Details page when you click on it.
Also the custom rewriting doesn't seem to work at all. Hover over "Sitemap" at the bottom of the page and see for yourself.
Here's the contents of .htaccess, located in ".com/directory/"
Options +FollowSymlinks
RewriteEngine on
RewriteBase /directory/
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]
RewriteRule ^admin$ admin/index.php
RewriteRule ^admin/$ admin/index.php
RewriteRule ^/([a-z]+)/([0-9]+)/?$ link.php?action=$1&id=$2
RewriteRule ^/([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 ^/([-_/\+A-Za-z0-9]+)-([0-9]+).html$ link.php?action=detail&id=$2
RewriteRule ^/([-_/\+A-Za-z0-9]+)-([0-9]+).html$ link.php?action=detail&id=$2
RewriteRule ^Local_Businesses_Sitemap.html$ sitemap.php
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That's an illegal link details url in any version. The id number of the link has to be in it. The default is links/{LINKTITLE}-{LINKID}.html
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
Paul,
It only seems to work when:
"Name to use for link details:" is "links"
AND
"Format for link details rewriting:" begins with "links/".
Replacing these with anything but "links" doesn't work on my site.
It also seems that "{LINKTITLE}-{LINKID}.html" is the required terminator.
I tried to use "links/{LINKTITLE}/{LINKID/" and couldn't get that to work.
Also tried "links/{LINKTITLE}/{LINKID}.html" and no luck.
Also tried "links/{LINKTITLE}_{LINKID}.html".
If I'm doing something wrong, maybe you could explain all the settings in depth for me. Thanks for your help.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You can change to something other than links/ if you edit your .htaccess, which is of course why there's the * next to it with the "warning: if you change these you'll have to change your .htaccess." You can't, however, change it to something that doesn't give a link id anywhere since there's no way to know what link it'd mean.
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
Thought that you had said something about Links 4.0 handling the .htaccess changes for you. Must have been mistaken, but got it to work with a little trial and error in .htaccess.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Ah, didn't notice your version number.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Fixed for RC 1.
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
RC1 seems to have taken care of most of the problems. But I still can't use custom rewrites (sitemap.php for example). Could it be something with my server?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The instructions for it changed, note you're not supposed to use full urls.