Webmastersite.net
Register Log In

What are "details"

Comments on What are "details"

Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Jan 05, 2007 - 9:25 PM:

Each link in my directory has a "Details" link.

What is this? When I click it, I get a 404 error page.

How can I eliminate the "Details" link from being displayed, (or make it work)?

Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Jan 05, 2007 - 9:34 PM:

I have for now commented out the text for the "Details" link in the displaylinks template.

Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 06, 2007 - 8:11 PM:

What url is the 404? I haven't seen any problem with link details. Anyhow they're just details about the link.
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Jan 09, 2007 - 10:43 AM:

Example of detail url:


www.twowayradiodirectory.co...ectory/links/EPCOM-43.html
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 09, 2007 - 5:34 PM:

Your url rewriting must not be setup properly. Are you letting it auto-write the .htaccess? What's your .htaccess content?
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Jan 12, 2007 - 1:21 PM:

Auto-write .htaccess?

is set to "Yes"

The root directory of my wsnlinks .htaccess file contents:

RewriteEngine on

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

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/([a-z]+)/([0-9]+)/$ link.php?action=$1&id=$2
RewriteRule ^links/([0-9]+)$ link.php?id=$1
RewriteRule ^links/([0-9]+)/$ link.php?id=$1

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

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

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

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 13, 2007 - 4:30 AM:

Your format for details rewriting appears to be set as links/{LINKTITLE}-{LINKID}.html yet that format isn't handled in the htaccess. Perhaps you haven't submitted the SEO page since upgrading from 3.x. Try submitting the page to have it rewrite the htaccess.

This is how it writes mine:
Options +FollowSymlinks
RewriteEngine on

RewriteBase /

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



RewriteRule ^admin/?$ admin/index.php

RewriteRule ^members/([0-9]+)/?$ memberlist.php?page=$1
RewriteRule ^members/([-_/\+A-Za-z0-9]+)/trader/?$ trader.php?name=$1
RewriteRule ^members/([-_/\+A-Za-z0-9]+)/?$ memberlist.php?action=profile&name=$1
RewriteRule ^members/?$ memberlist.php
RewriteRule ^help/?$ help.php
RewriteRule ^help/([0-9]+)/?$ help.php?action=showcat&id=$1
RewriteRule ^help/([0-9]+)/([0-9]+)/?$ help.php?action=showitem&id=$2

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$ comments.php?id=$2
RewriteRule ^/([-_/\+A-Za-z0-9]+)-([0-9]+).html$ link.php?action=detail&id=$2
(that's with the comments/details switch on -- also works with it off, but with different content)
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Jan 14, 2007 - 8:06 PM:

Thanks once again Paul. I clicked the update button on the admin SEO page, and now it works fine. Looks like it updated my htaccess file.

Now I am off to uodate to 4.0.11.

Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



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