Paul, This is what I have in the Settings -> SEO :
Use apache mod_rewrite URL rewriting? yes Format for category rewriting: {CATREWRITEPATH}/{PAGE}/ Format for member link list rewriting: lists/{CATREWRITEPATH}-{CATID}/{PAGE}.html Format for member link list index rewriting: lists/ Format for thread rewriting: thread/{LINKID}/{PAGE}/ Format for link details rewriting: links/{LINKTITLE}-{LINKID}.html Format for member list: members/{PAGE}.html Format for profiles: members/{MEMBERNAME}-{MEMBERID}.html Format for trader profiles: members/{MEMBERNAME}-{MEMBERID}-trader.html Format for help index: help/ Format for help categories: help/{HELPCATNAME}/ Format for help items: help/{HELPITEMREWRITEPATH}/{HELPITEMSUBJECT}-{HELPITEMID}.html Format for tags: tags/{TAGNAME}/ Replace spaces with - (must be unique) Replace ampersands with ampersand (must be unique) Use only lowercase? yes
Do you know if your server has special requirements for .htaccess files? Years ago a few people said they needed to remove +Follow symlinks or the like but I haven't heard of anyone needing modifications in a long time.
Can you be more specific about what "isn't working at all" means? Are you seeing a specific error message on your page, a blank page, some other sort of page? Everywhere, only in categories?
Paul, Ok, On the main page the categories and subcategories are rewriting but the links in toplists aren't rewritting. When you go into a main category and have subcategories under it, the subcategories are not rewriting. The link details are rewriting but the links are not rewriting. Threads are rewriting. Mainly the subcategories(except on main page) and links are not rewriting.
Peumus, I did that and notice now that {CATURL} is now for the categories so I got the subcategories to work. Ok now I've checked the templates for the links and I have {TRACKLINKURL} for the links. The links are not rewriting is the only problem I have now.
Peumus, I am using {LINKDETAILSURL} for details and it's working fine. I'm talking the actual links are not rewriting. In 4.1.10 is now where I am at on this now. I updated to the latest thinking this would solve the problem and it didn't. I thought that if you are tracking hits out that you needed to have the links rewritten to do so. For my links in toplists and directory I use {TRACKLINKURL}. Is this not being used anymore as far as tracking out going hits?
Liz, tested at my heavily costomized templates, using: <a href="{TRACKLINKURL}"><b>LINKURL: {LINKURL}</a> works fine at displaylinks.tpl also at details.tpl
Hits (out at least) are not tracked you are right.
azteca wrote: I am using {LINKDETAILSURL} for details and it's working fine. I'm talking the actual links are not rewriting.
Nor should they. I can't see any sense in rewriting when we can just use a direct link, since hits tracking no longer involves indirect linking. Outgoing links can rewrite only when you use the outgoing frameset switch, since that's the only case where it makes sense... are you using it?
Ok so {TRACKLINKURL} is no longer used then for hit tracking? Gotcha. No I'm not using outgoing frameset. Was just concerned with the hit tracking in all. Thanks Paul and Peumus for you help.
{TRACKLINKURL} is still used for hit tracking, it just happens to use the link {LINKURL} along with an AJAX trigger, or {LINKDETAILSURL} if there isn't a link url.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Links not rewriting
Forum Regular
Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 32
Total Comments: 114
Paul,
Upgraded from 4.0.36 to 4.1.9 and the modrewrite isn't rewriting the links. Apparently the modrewrite isn't working at all.
Liz
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
This will have something to do with your rewriting settings, so I need to see them. Show me Admin -> Settings -> SEO.
Forum Regular
Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 32
Total Comments: 114
Paul,
This is what I have in the Settings -> SEO :
Use apache mod_rewrite URL rewriting?
yes
Format for category rewriting: {CATREWRITEPATH}/{PAGE}/
Format for member link list rewriting: lists/{CATREWRITEPATH}-{CATID}/{PAGE}.html
Format for member link list index rewriting: lists/
Format for thread rewriting: thread/{LINKID}/{PAGE}/
Format for link details rewriting: links/{LINKTITLE}-{LINKID}.html
Format for member list: members/{PAGE}.html
Format for profiles: members/{MEMBERNAME}-{MEMBERID}.html
Format for trader profiles: members/{MEMBERNAME}-{MEMBERID}-trader.html
Format for help index: help/
Format for help categories: help/{HELPCATNAME}/
Format for help items: help/{HELPITEMREWRITEPATH}/{HELPITEMSUBJECT}-{HELPITEMID}.html
Format for tags: tags/{TAGNAME}/
Replace spaces with - (must be unique)
Replace ampersands with ampersand (must be unique)
Use only lowercase? yes
Auto-write .htaccess? yes
Disallow spiders from searching? yes
Disallow spiders from all but critical pages? no
Google/Yahoo/MSN Sitemap: no
Liz
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You say categories don't work? I don't see how that's possible, it looks the same as what I have at http://links.webmastersite.net .
Have you tried resubmitting the SEO page as-is?
Do you know if your server has special requirements for .htaccess files? Years ago a few people said they needed to remove +Follow symlinks or the like but I haven't heard of anyone needing modifications in a long time.
Can you be more specific about what "isn't working at all" means? Are you seeing a specific error message on your page, a blank page, some other sort of page? Everywhere, only in categories?
Forum Regular
Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 32
Total Comments: 114
Paul,
Ok, On the main page the categories and subcategories are rewriting but the links in toplists aren't rewritting. When you go into a main category and have subcategories under it, the subcategories are not rewriting. The link details are rewriting but the links are not rewriting. Threads are rewriting. Mainly the subcategories(except on main page) and links are not rewriting.
Liz
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Hello azteca, just to comment that you have to compare current templates with yours as the url now are formed differently to be rewritten.
Forum Regular
Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 32
Total Comments: 114
Peumus,
I did that and notice now that {CATURL} is now for the categories so I got the subcategories to work. Ok now I've checked the templates for the links and I have {TRACKLINKURL} for the links. The links are not rewriting is the only problem I have now.
Liz
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
I'm using {TRACKLINKURL} at link details only and it's working fine. Ver. 4.1.9.
Forum Regular
Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 32
Total Comments: 114
Peumus,
I am using {LINKDETAILSURL} for details and it's working fine. I'm talking the actual links are not rewriting. In 4.1.10 is now where I am at on this now. I updated to the latest thinking this would solve the problem and it didn't. I thought that if you are tracking hits out that you needed to have the links rewritten to do so. For my links in toplists and directory I use {TRACKLINKURL}. Is this not being used anymore as far as tracking out going hits?
Liz
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Liz, tested at my heavily costomized templates,
using: <a href="{TRACKLINKURL}"><b>LINKURL: {LINKURL}</a> works fine at displaylinks.tpl also at details.tpl
Hits (out at least) are not tracked you are right.
Forum Regular
Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 32
Total Comments: 114
Ok here is my htaccess file. Does it look right?
Options +FollowSymlinks
RewriteEngine on
RewriteBase /main/
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]
RewriteRule ^admin/?$ admin/index.php
RewriteRule ^members/([0-9]+)\.html?$ memberlist.php?rewritten=1&page=$1
RewriteRule ^members/([-_/\+A-Za-z0-9]+)-([0-9]+)-trader\.html?$ trader.php?rewritten=1&id=$2
RewriteRule ^members/([-_/\+A-Za-z0-9]+)-([0-9]+)\.html?$ memberlist.php?rewritten=1&action=profile&id=$2
RewriteRule ^members/?$ memberlist.php?rewritten=1
RewriteRule ^help/?$ help.php?rewritten=1
RewriteRule ^help/([-_/\+A-Za-z0-9]+)/?$ help.php?rewritten=1&action=showcat&name=$1
RewriteRule ^help/([-_/\+A-Za-z0-9]+)/([-_/\+A-Za-z0-9]+)-([0-9]+)\.html?$ help.php?rewritten=1&action=showitem&id=$3
RewriteRule ^tags/([a-zA-Z0-9]+)/?$ search.php?rewritten=1&filled=1&action=filter&whichtype=links&tagscondition=like&tagssearch=|$1|
RewriteRule ^thread/([0-9]+)/([0-9]+)/$ comments.php?rewritten=1&id=$1&page=$2
RewriteRule ^thread/([0-9]+)/$ comments.php?rewritten=1&id=$1
RewriteRule ^links/[-_/\+A-Za-z0-9]+-([0-9]+)\.html$ link.php?rewritten=1&action=detail&id=$1
RewriteRule ^lists/?$ albums.php?rewritten=1
RewriteRule ^lists/[-_/\+A-Za-z0-9]+-([0-9]+)/?$ albums.php?rewritten=1&catname=$1
RewriteRule ^lists/[-_/\+A-Za-z0-9]+-([0-9]+)/([0-9]+)\.html?$ albums.php?rewritten=1&catname=$1&page=$2
RewriteRule ^([0-9]+)/?$ index.php?rewritten=1&action=displaycat&catid=$1
RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?rewritten=1&action=displaycat&catid=$1&page=$2
RewriteRule ^([0-9]+)/sp([0-9]+).htm$ index.php?rewritten=1&action=displaycat&catname=$1&subpage=$2
RewriteRule ^([-_/\+A-Za-z0-9]+)/?$ index.php?rewritten=1&action=displaycat&catname=$1
RewriteRule ^([-_/\+A-Za-z0-9]+)/([0-9]+)/?$ index.php?rewritten=1&action=displaycat&catname=$1&page=$2
Forum Regular
Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 172
Total Comments: 462
Liz, Paul shall help with .htaccess as I still have to study about it.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I am using {LINKDETAILSURL} for details and it's working fine. I'm talking the actual links are not rewriting.
Nor should they. I can't see any sense in rewriting when we can just use a direct link, since hits tracking no longer involves indirect linking. Outgoing links can rewrite only when you use the outgoing frameset switch, since that's the only case where it makes sense... are you using it?
Forum Regular
Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 32
Total Comments: 114
Ok so {TRACKLINKURL} is no longer used then for hit tracking? Gotcha. No I'm not using outgoing frameset. Was just concerned with the hit tracking in all. Thanks Paul and Peumus for you help.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
{TRACKLINKURL} is still used for hit tracking, it just happens to use the link {LINKURL} along with an AJAX trigger, or {LINKDETAILSURL} if there isn't a link url.