That solves the link details issue -- though note that if you rewrite by link name you don't encounter the problem. Will update the available download later after I figure out the threads issue.
I've made the change in classes/onlink.php and still is not working. Firstly I think that is details or detailes instead of detail because there is an HTTp 404 error message : www.astrologydatabase.com/w...m/wsnlinks/links/detail/81
If is detailes or details then is doing the same thing...redirecting the client to the URL and not on the detail page.
Use category names in URL : Yes Name to use for link details : links Name to use for threads: thread Use link names in link details URL:Yes Format for link details rewriting:links/{LINKTITLE}-{LINKID}.html
Combine detail and comments pages: ON
Anyway I found a solution...not very good from technical point fo view. I will remove the Detail link and rename the Comment link to Details & Comments
Comments on details link trouble
Beginner
Usergroup: Customer
Joined: Aug 11, 2005
Total Topics: 1
Total Comments: 4
Hi Paul,
First of all congratulations for your excellent application!
I've installed the application, configured ok and made some design changes.
But there is something that I want to do I didn't figure out how to do it.
On the Details link click instead of opening the detailed page of the application it si redirecting me to the link URL. You can see it on www.astrologydatabase.com/w...Planets_and_other_elements
What shall I do in order to make this work? I'm using the default .htaccess file.
Also the comments are still .php file.
Thanks,
Dan
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
In classes/onelink.php, replace
with
That solves the link details issue -- though note that if you rewrite by link name you don't encounter the problem. Will update the available download later after I figure out the threads issue.
Beginner
Usergroup: Customer
Joined: Aug 11, 2005
Total Topics: 1
Total Comments: 4
I've made the change in classes/onlink.php and still is not working. Firstly I think that is details or detailes instead of detail because there is an HTTp 404 error message : www.astrologydatabase.com/w...m/wsnlinks/links/detail/81
If is detailes or details then is doing the same thing...redirecting the client to the URL and not on the detail page.
How can I rewrite by link name?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
It's detail for me. Works fine here. You must've changed something but I don't see an option where you could.
How can I rewrite by link name?
Admin panel -> settings -> search & SEO -> set 'rewrite link names' to 'yes'
Beginner
Usergroup: Customer
Joined: Aug 11, 2005
Total Topics: 1
Total Comments: 4
It's detail for me. Works fine here. You must've changed something but I don't see an option where you could.
How can I rewrite by link name?
Admin panel -> settings -> search & SEO -> set 'rewrite link names' to 'yes'
It is already set ...the rewrite options.
I will try to give a little more details ...maybe you figure out what happend:
My .htaccess file is:
"Options +FollowSymlinks
RewriteEngine on
# If not working, uncomment and correctly fill the line below:
#RewriteBase /wsnlinks
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"
Use category names in URL : Yes
Name to use for link details : links
Name to use for threads: thread
Use link names in link details URL:Yes
Format for link details rewriting:links/{LINKTITLE}-{LINKID}.html
Combine detail and comments pages: ON
Anyway I found a solution...not very good from technical point fo view. I will remove the Detail link and rename the Comment link to Details & Comments
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Issues from this thread will be fixed in the upload in a few hours.