| Author |
Message |
floppy
Newbie


Joined: Sep 11, 2006
Posts: 92
|
Posted:
Thu Mar 01, 2007 4:15 pm |
|
Undergoing test to see if urls such as
| Code: |
| http://www.mysite.com/article-37-thread-0-0.html#Gamers_Toolbox |
Yields better results for google. Their is not much testing you can do for such a small thing, but its gotta be a plus.
Any thoughts? |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1282
|
Posted:
Thu Mar 01, 2007 7:24 pm |
|
To be quite honest? Who knows! I can't imagine that it would hurt and could only help. I know that others have tried to do this, even a few of the GT links did this, and so, so does ShortLinks.
Just be careful of changing your titles!
What I have been thinking of is providing a way to do this, placing the titles up front, but still follow with a ID number that is what is really used when re-assembling the link. That way, you could even change your titles, but then I would be concerned about having multiple links pointing the exact same page of content. I think this is to be a no-no. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
floppy
Newbie


Joined: Sep 11, 2006
Posts: 92
|
Posted:
Thu Mar 01, 2007 8:38 pm |
|
Nah I know two ways to do this they both are manual but purely simple.
I will discuss the easiest one for now
In whatever block or module file you wanna add this hack find the string in reference to your title
| Code: |
$title = $row['title'];
$title2 = str_replace(' ','_',$title); |
Notice I am replacing with an _ to keep google from reading %20 for a space.
Then find the url you want to add this hack to
| Code: |
| <a href=\"modules.php?name=News&file=article&sid=$sid$r_options#$title2\" |
Notice I added #$title2 to the very end.
Thats it! No adjusting your tapped files or anything else. They should auto-adjust to the modification.
Note: I have yet to try backend.php |
Last edited by floppy on Thu Mar 01, 2007 8:43 pm; edited 1 time in total |
|
|
 |
floppy
Newbie


Joined: Sep 11, 2006
Posts: 92
|
Posted:
Thu Mar 01, 2007 8:41 pm |
|
To disassemble and reassemble seems like a lot of work for such an easy task. I am sure it can be done, but more work than its worth to me.
We should have some results in a few weeks or a better idea anyway. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1282
|
Posted:
Fri Mar 02, 2007 12:27 am |
|
JUst everyone keep in mind that once a SE has your links, if you change your mind later, you could have a mess on your hands. I still have MSNbot tripping up on one link that I changed six months ago. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
floppy
Newbie


Joined: Sep 11, 2006
Posts: 92
|
Posted:
Fri Mar 02, 2007 1:39 am |
|
Well I use a great sitemap tool for google and I am having some trouble with these new addtions.
So another warning to others this clearly a beta idea  |
| |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 375
|
Posted:
Fri Mar 02, 2007 2:34 am |
|
Sitemap tool? You wouldn't be referring to GSite Crawler would you?
If so, the trick with this one is to remewmber to make sure you log out of any special privelages you have on the site and clear cookies. |
| |
|
|
 |
floppy
Newbie


Joined: Sep 11, 2006
Posts: 92
|
Posted:
Fri Mar 02, 2007 2:39 am |
|
Yes thats the software I was referring too and I never thought about what you said.
Give that a shot in a few hours Guess my software is not so special if everyone knows about it.. Back to the drawing board |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1282
|
Posted:
Fri Mar 02, 2007 7:50 am |
|
floppy, what "trouble" are you having? The reason I ask, is I wonder if it could be punctuation and/or HTML entities related? If so, you can fix that with some simple coding. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
floppy
Newbie


Joined: Sep 11, 2006
Posts: 92
|
Posted:
Fri Mar 02, 2007 10:37 am |
|
I will tell you have you give me that captcha hack!! grr..
Anyway on a serious note
My first test was to see if I could get the sitemap to read my above code example. Remember this is without any .htaccess mods or shortlink files.
So its not really a problem just a series of test to see what works and what doesn't.
Next I will try adding that info to the .htaccess and corresponding slink file. |
| |
|
|
 |
xiketuan
Newbie


Joined: Nov 11, 2008
Posts: 18
|
Posted:
Mon Feb 23, 2009 5:35 am |
|
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 375
|
Posted:
Mon Feb 23, 2009 9:15 am |
|
Clan themes have modified their code quite a lot and have had to make a lot of changes to the code. |
| |
|
|
 |
Slackervaara
Newbie


Joined: Nov 03, 2007
Posts: 127
|
Posted:
Tue Feb 24, 2009 12:10 am |
|
|
|
 |
xiketuan
Newbie


Joined: Nov 11, 2008
Posts: 18
|
Posted:
Tue Feb 24, 2009 2:54 am |
|
hack title for Modules News? help me. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1282
|
Posted:
Tue Feb 24, 2009 8:29 am |
|
xiketuan,
Since this "hack" isn't mine and another site is responsible for it, you might want to ask your questions over at the nukecoder website.  |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
|
|