WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Links not rewriting
Upgrading from 4.0.36

Version: 4.1.9
printPrint


Page: 1 2

Links not rewriting
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 28
Total Posts: 102
Posted 10/29/07 - 06:55 AM:
quote post
#1
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

Edited by azteca on 10/29/07 - 07:17 AM
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6022
Posted 10/30/07 - 05:37 AM:
quote post
#2
This will have something to do with your rewriting settings, so I need to see them. Show me Admin -> Settings -> SEO.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 28
Total Posts: 102
Posted 10/30/07 - 10:36 AM:
quote post
#3
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
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6022
Posted 10/31/07 - 04:03 AM:
quote post
#4
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?

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 28
Total Posts: 102
Posted 10/31/07 - 04:57 AM:
quote post
#5
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
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 143
Total Posts: 374
Posted 10/31/07 - 06:40 PM:
quote post
#6
Hello azteca, just to comment that you have to compare current templates with yours as the url now are formed differently to be rewritten.
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 28
Total Posts: 102
Posted 11/01/07 - 04:48 AM:
quote post
#7
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
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 143
Total Posts: 374
Posted 11/01/07 - 05:36 AM:
quote post
#8
I'm using {TRACKLINKURL} at link details only and it's working fine. Ver. 4.1.9.
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 28
Total Posts: 102
Posted 11/01/07 - 06:05 AM:
quote post
#9
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
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 143
Total Posts: 374
Posted 11/01/07 - 06:52 AM:
quote post
#10
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.

Edited by peumus on 11/01/07 - 07:00 AM
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 28
Total Posts: 102
Posted 11/01/07 - 07:15 AM:
quote post
#11
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
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 143
Total Posts: 374
Posted 11/01/07 - 07:54 AM:
quote post
#12
Liz, Paul shall help with .htaccess as I still have to study about it.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6022
Posted 11/01/07 - 01:49 PM:
quote post
#13
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?

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003
Total Topics: 28
Total Posts: 102
Posted 11/01/07 - 04:03 PM:
quote post
#14
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.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6022
Posted 11/02/07 - 10:54 AM:
quote post
#15
{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.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as

Page: 1 2



You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.