21
rob777
Re: Simplified URLs Hack
  • 2005/1/31 21:33

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


TL,

Could you please show the code lines that need to be changed? Pretty Pleaseee!

I too want to change the (+)'s to(-)'s.
here's the orginal from simplified_url.php
Quote:
$out = array(
// Replace URLs of Xoops's root directry.
'<$1$2$3=$4'.XOOPS_URL.'/$5.html$6$7$8>'
, '<$1$2$3=$4'.XOOPS_URL.'/$5.$6+$7.html$8$9$10>'
, '<$1$2$3=$4'.XOOPS_URL.'/$5.$6+$7+$8+$9.html$10$11$12>'
// Replace URLs of modules' directry.
, '<$1$2$3=$4'.XOOPS_URL.'/$5+index.htm$6$7$8>'
, '<$1$2$3=$4'.XOOPS_URL.'/$5+$6.htm$7$8$9>'
, '<$1$2$3=$4'.XOOPS_URL.'/$5+$6.$7+$8.htm$9$10$11>'
, '<$1$2$3=$4'.XOOPS_URL.'/$5+$6.$7+$8+$9+$10.htm$11$12$13>'
, '<$1$2$3=$4'.XOOPS_URL.'/$5+$6.$7+$8+$9+$10+$11+$12.htm$13$14$15>'
, '<$1$2$3=$4'.XOOPS_URL.'/$5+$6.$7+$8+$9+$10+$11+$12+$13+$14.htm$15$16$17>'
, '<$1$2$3=$4'.XOOPS_URL.'/$5+$6.$7+$8+$9+$10+$11+$12+$13+$14+$15+$16.htm$17$18$19>'
, '<$1$2$3=$4'.XOOPS_URL.'/$5+$6.$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18.htm$19$20$21>'
);


Do I just change all the + signs above to - signs? Do I have to modify any other files or code lines?

Thanks.


Also to anyone else,
Is there anyway to get the url to also include the article title. Specificly in WF-Sections. Here is the tile code from module/wfsection/article.php file.
// $title
$articletag['title'] = $article->category->textLink().": ";
$articletag['title'] .= $article->title();

Could I insert $articletag['title'] into the simplified_urls file somewhere to get it to display the article title in the url. I have found that you get better SE placement with title urls like www. myhome.com/articles/how_to_doda.html (I have another website that I did with Dreamweaver and is all html, and most of my 100 articles get top 5 spots when searched for their topic). Do A google search on "solar kiln" i'm #3, or "quarter sawn lumber" #1 and you will see what I mean. I get about 50% of my traffic from the SE results for the articles.

So I could modify the simplified_url.php to show something like www. myhome.com/wfsection-how_to_doda-id-1.htm ? Any thoughts??

Thanks all,
Rob

22
WarDick
Re: Simplified URLs Hack
  • 2005/2/11 4:17

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


Why bother with this hack who are your trying to please with it? What is your goal? If search engine placement is the goal then the hack is not necessary.

23
rob777
Re: Simplified URLs Hack
  • 2005/2/11 4:18

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


-edited-
Wow, 2 repies at the same time.

Wardick, I just like the look of the - better. So I guess it was for my own benefit.
-end edited-



Nevermind It's too late, Google has me crawled, indexed, and I'm getting visitors from Google.

I think this url fix works good though. My robot stats are showing;

Google is hitting me everyday, 4853 hits and 75MB in the last week.

AskJeeves has 1326 hits and 18MB.

MSN and Slurp are not to good yet, only about 30 hits and 500 KB.

Hopefully they will catch up, but I am not holding my breath. My other website is getting 1500 people a day, and 800 are from SE's, with Google leading with 600, then Yahoo at 100, then MSN 75. then others making up the rest. Google is definatly the king, for now.


Later,
Rob

24
WarDick
Re: Simplified URLs Hack
  • 2005/2/11 4:24

  • WarDick

  • Just can't stay away

  • Posts: 890

  • Since: 2003/9/13


I strongest MSN followed by Google Slurp Alexa barely by Jeeves what did you do to make jeeves so happy?

25
rob777
Re: Simplified URLs Hack
  • 2005/2/11 4:35

  • rob777

  • Just popping in

  • Posts: 45

  • Since: 2005/1/21


I have no Idea how Jeeves found me or why they are so into me? I beleive Jeeves is a paid submission process, and I don't pay for submissions, so I am stumped??

Jeeves doesn't even visit my other website, and it is 2 years old.

On my html site, robots stats is showing for this month
google is 8048 hits and 118MB
MSNBot is 2565 hits and 55MB
Slurp is 1439 hits and 15MB

So Google is my best friend! But maybe Jeeves will be on my new site, but I don't think more people will use jeeves, than Google, so Google will probably stay King for me anyway.

Although, who knows how this new Microsoft search thing will work out?? They may take Google's #1 posistion if their new search is as good as they think is is. I doubt it though, it is still MS and they can't change that.


Later,
Rob

26
sim_suin
Simplified URLs Hack 1.3 Released
  • 2005/2/16 4:14

  • sim_suin

  • Just popping in

  • Posts: 10

  • Since: 2005/1/13


Simplified URLs version 1.3 was released.

Added feature:
- become free to stop simplifying URLs at a given module.

Download:
http://www.suin.jp/mydownloads+visit.cid+3+lid+9.htm

thank you

suin

27
pmhoran
Re: Simplified URLs Hack 1.3 Released
  • 2005/2/17 12:51

  • pmhoran

  • Not too shy to talk

  • Posts: 115

  • Since: 2003/2/21


I had installed "Simplified URLs version 1.3" ... but ran into a problem.

I went over the install/setup instructions 3 times to make sure I wasn't missing something ... suprisingly it seems I wasn't.

My site is at www.merlinean.com ... but when I put the URL into my browser all I got was a blank screen. I cleared the history & cache in the browser ... just in case that was the problem. It wasn't.

The only way I could get the site to show up was by entering www.merlinean.com/index.html ... and then the site came up OK. Even using the "index.php" did not work ... just got an error page.

I have removed the 2 pages and the modifications to .htaccess & mainfile.php ...

Apparently no one else is experiencing this problem. Any ideas on what I might do to make it work right for me?

Linux 2.4.21-20.EL.c0smp
Apache 1.3.33 (Unix)
PHP 4.3.9
MySQL 4.0.22-standard

I have been a member here for quite a while now ... but this is my first LIVE install of XOOPS .. and I am a XOOPS & PHP idiot (self admitted ;))

Thanks
Peter

28
pmhoran
Re: Simplified URLs Hack 1.3 Released
  • 2005/2/19 17:38

  • pmhoran

  • Not too shy to talk

  • Posts: 115

  • Since: 2003/2/21


I actually ended up removing Simplified URLs and tried Reynaldos ShortURLs ... and it works GREAT.

29
pmhoran
Re: Simplified URLs Hack 1.3 Released
  • 2005/2/23 15:01

  • pmhoran

  • Not too shy to talk

  • Posts: 115

  • Since: 2003/2/21


Quote:

pmhoran wrote:
I actually ended up removing Simplified URLs and tried Reynaldos ShortURLs ... and it works GREAT.


I ended up removing ShortURLs ... too many problems as I went along ;-(

Then I reinstalled Simplified URLs and ... apparently I had not installed it properly before because this time it worked. Go figure

30
Hisoka
Re: Simplified URLs Hack 1.3 Released
  • 2005/3/2 13:54

  • Hisoka

  • Just popping in

  • Posts: 39

  • Since: 2005/3/2 1


Hi,

I'm a french user of your hack.Thanks a lot that works great.
But today i decided to install module MadLiens.I think you do not know it..Normal it is an old module and french

You can see it here:
http://www.frxoops.org/modules/refere ... lefile.php?cid=44&lid=210

Well in fact your hack doesn't work with it. When you enter this adress : http://www.monsite.com/MadLiens+index.htm that works but when you enter http://www.easy-achat.com/MadLiens+index.id+2.htm (that should show an other page) that still show this one (http://www.monsite.com/MadLiens+index.htm).

It is quite a simple module, i mean it justs show your banner,logo,buttons and the code the user must enter on his site to refer you so i hope a modification is possible?

Hope someone could help me.

Thanks a lot

Login

Username:
Password:

Lost Password? Register now!

Who's Online

66 user(s) are online (39 user(s) are browsing Support Forums)


Members: 0


Guests: 66


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits