Author |
Message |
boogywoogy
New Member


Joined: Aug 11, 2004
Posts: 8
|
Posted:
Fri Oct 07, 2005 2:59 am |
|
|
|
 |
Steptoe
Involved


Joined: Oct 09, 2004
Posts: 293
|
Posted:
Fri Oct 07, 2005 4:02 am |
|
I different thought to the problem
Do u need user a/c details GT ed...or do u want them SEO ed? Woulds it not be better to have any links to users details anywhere only visible to members logged in?
User info members , new members, moderators in forms, membership list, poster, last poster. etc? |
_________________ My Spelling is NOT incorrect, it's Creative |
|
|
 |
boogywoogy

|
Posted:
Fri Oct 07, 2005 5:30 am |
|
Ya that is a good suggestion.
Basically all i need is get the News, Content and Forum to be Google Tapped and may be the Journal too. User info I am not being able to figure out how to get it corrected, normall session id access will do fine with us but if its a .html file then it looks better thats all.
Funny thing is from the forum and journal - user id is showing ok but in the news section the problem is there!
Rest of the GT is working Fine |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Fri Oct 07, 2005 6:19 am |
|
Here are the rules I use.
IN:
"'(?<!/)modules.php\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9_-]*)'",
OUT:
"userinfo-\\1.html",
"userinfo-\\1.html",
.htaccess:
RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html userinfo-.html$1 [L] |
|
|
|
 |
boogywoogy

|
Posted:
Sat Oct 08, 2005 5:17 am |
|
Hi I belive you are talking about the GT-Your_Account.php file right?
Earlier it was
-------------------------------------------------------------------------------
$urlin = array(
"'(?<!/)modules.php\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Your_Account&op=([a-z_]*)\"'",
"'(?<!/)modules.php\?name=Your_Account\"'",
"'(?<!/)modules.php\?name=Journal&file=search&bywhat=([0-9]*)&forwhat=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Journal&file=edit'",
"'(?<!/)modules.php\?name=Members_List'",
"'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=article&thold=([0-9-]*)&mode=([a-z]*)&order=([0-9]*)&sid=([0
-9]*)([0-9#]*)'",
"'(?<!/)modules.php\?name=Private_Messages&mode=post&u=([0-9]*)'",
"'(?<!/)modules.php\?name=Private_Messages'",
"'(?<!/)modules.php\?name=Search&type=users'",
"'(?<!/)modules.php\?name=WebMail'"
);
$urlout = array(
"userinfo-\\1.html",
"account-\\1.html\"",
"account.html\"",
"journal-search-\\1-\\2.html",
"journal-edit.html",
"members.html",
"article\\1.html",
"article-\\1-\\2-\\3-\\4.html\\5",
"messages-post-\\1.html",
"messages.html",
"search-users.html",
"webmail.html"
);
-----------------------------------------------------------------------
I changed it to
--------------------------------------------------------------------
$urlin = array(
"'(?<!/)modules.php\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Your_Account&op=userinfo&username=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Your_Account\"'",
"'(?<!/)modules.php\?name=Journal&file=search&bywhat=([0-9]*)&forwhat=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Journal&file=edit'",
"'(?<!/)modules.php\?name=Members_List'",
"'(?<!/)modules.php\?name=News&file=article&sid=([0-9]*)'",
"'(?<!/)modules.php\?name=News&file=article&thold=([0-9-]*)&mode=([a-z]*)&order=([0-9]*)&sid=([0
-9]*)([0-9#]*)'",
"'(?<!/)modules.php\?name=Private_Messages&mode=post&u=([0-9]*)'",
"'(?<!/)modules.php\?name=Private_Messages'",
"'(?<!/)modules.php\?name=Search&type=users'",
"'(?<!/)modules.php\?name=WebMail'"
);
$urlout = array(
"userinfo-\\1.html",
"account-\\1.html\"",
"account.html\"",
"journal-search-\\1-\\2.html",
"journal-edit.html",
"members.html",
"article\\1.html",
"article-\\1-\\2-\\3-\\4.html\\5",
"messages-post-\\1.html",
"messages.html",
"search-users.html",
"webmail.html"
);
-------------------------------------------------------------------
I also changed the
.htaccess:
RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html userinfo-.html$1 [L]
but not getting the desired effect its still shwoing
http://press.xtvworld.com/account-userinfo.html?username=thatprguy
Did i make the corrections propely? |
|
|
|
 |
boogywoogy

|
Posted:
Wed Oct 12, 2005 1:01 am |
|
Ok I made the changes in the wrong file it was supposed to be changed in GTNews
Well its working smooth again but i am running it without
(.htaccess: RewriteRule ^userinfo-([a-zA-Z0-9_-]*).html userinfo-.html$1 [L])
this change and its running ok
cheers |
|
|
|
 |
|