• [MOD] Google Friendly Urls For 4images Best Seo Mod 4 0 5 1
Currently:  

Author Topic: [MOD] Google Friendly Urls For 4images Best Seo Mod  (Read 657203 times)

0 Members and 1 Guest are viewing this topic.

Offline simpley

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #375 on: July 10, 2010, 11:17:50 PM »
No robots txt but i did write  a no follow on to a file, but i have forgot which one, i will have to go back and try and figure if it was that.

I had added <a rel="nofollow"href="' in the code of functions php when i added the keyword cloud code.
maybe i missunderstood what it would have done, it was suggested on one of the boards,  does that look like something that might cause the problem, i have removed it and will test again.
just tested and the problem is still there, apart from that i cant think of much else i have changed.



does the htaccess file look correct
RewriteEngine On
RewriteRule ^lightbox\.htm$ lightbox.php?%{QUERY_STRING}
RewriteRule ^lightbox\.([0-9]+)\.htm$ lightbox.php?page=$1&%{QUERY_STRING}
RewriteRule ^search\.htm$ search.php?%{QUERY_STRING}
RewriteRule ^search\.([0-9]+)\.htm$ search.php?page=$1&%{QUERY_STRING}
RewriteRule ^postcard([a-zA-Z0-9]+)\.htm$ postcards.php?postcard_id=$1&%{QUERY_STRING}
RewriteRule ^postcard\.img([0-9]+)\.htm$ postcards.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^k-(.*)-([0-9]+).htm categories.php?cat_id=$2&%{QUERY_STRING}
RewriteRule ^r-(.*)-([0-9]+).htm details.php?image_id=$2&%{QUERY_STRING}
RewriteRule ^r([0-9]+).search.htm details.php?image_id=$1&%{QUERY_STRING}

« Last Edit: July 10, 2010, 11:42:07 PM by simpley »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #376 on: July 10, 2010, 11:56:13 PM »
the .htaccess files is not in issue here, there something else that make bot's report wrong addresses.
It could be in the page source
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline simpley

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #377 on: July 11, 2010, 08:11:45 AM »
ok this morning i have created a new database and uploaded new 1.7.7.
Made no alterations to the orginal script other than add the sar file that comes at the start of this thread.

thats the
HTACCESS file AND THE SESSIONS PHP

everything looks fine, only when i check with

http://www.webconfs.com/search-engine-spider-simulator.php

i get the same problem
http://www.mydomain.com/./new-site-test-1.htm

where the period replaces the folder name ??


« Last Edit: July 11, 2010, 01:14:11 PM by simpley »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #378 on: July 11, 2010, 08:14:46 PM »
Ok, now I see where the problem is - the webconfs.com itself.

Do a simple test: remove this mod and check your site through their "eyes": it will still replace the folder with a .
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline simpley

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #379 on: July 11, 2010, 10:21:08 PM »
Thanks,

I'm very new to all this, what led me to the spider check site was that when i put the url path to one of my gallery images  on google it showed the in the search but added that it didn't match any documents, i had thought the link would at least show live, so thought there was a problem with the generated url.
If i copy and post it into to my browser it works.

Then when i checked with the spider check i noticed the period and thought that might have been another problem!

seperatley - one thing i came across
the orginal sar file at the start of the thread does not have this line in the htaccess file

RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING}

which i needed to add to make the cagegory drop down box work, i dont know if it is worth mentioning somewhere on the first post?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #380 on: July 11, 2010, 11:12:23 PM »
the orginal sar file at the start of the thread does not have this line in the htaccess file

RewriteRule ^cat\.htm$ categories.php?%{QUERY_STRING}

which i needed to add to make the cagegory drop down box work, i dont know if it is worth mentioning somewhere on the first post?

Unless you are using 4images v1.7.4, you should restore original sessions.php and install this mod manually, including code in .htaccess ;)
I've added a note to the original mod :)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline bara_ac

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #381 on: July 21, 2010, 09:14:27 AM »
hellor!
I'm getting this error: Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION in .../imagini/includes/sessions.php  on line 411
I saw that another user had the same problem and you suggested to restore backups and try again. that didn't help. any other suggestions?
thank you!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #382 on: July 21, 2010, 09:17:36 AM »
Welcome to 4images forum.

You do something wrong. Make sure you count the { and } brackets in the original block of code that you need to replace.

And also, do not use notepad or wordpad that comes with windows, or other text editors that don't support simple, plain text without any hidden formatings (MS Word is a no-no), make sure the saved .php files are in ASCII charset (single byte), not unicode/utf8 (multi byte)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline bara_ac

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #383 on: July 21, 2010, 09:35:11 AM »
 :D you are right. I was using a bad php editor. I downloaded another and it showed me I didn't close one bracket. a class bracket.
I'm a newbie.  :oops:
thanks!
« Last Edit: July 21, 2010, 10:35:37 AM by bara_ac »

Offline Artikulus

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #384 on: August 11, 2010, 05:49:49 PM »
I install the seo-mod and it works fine but the old url doesn´t redirect to the new url and so there is a duplicate content problem. Example: xxxx.com/categories.php?cat_id?12 should redirect to xxxx.com/k-catname-12.htm. Is there anything to add in the .htaccess-file?

My .htaccess-file:

Code: [Select]
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*) http://www.%{HTTP_HOST}/$1 [R=301]

RewriteRule ^index\.(php|html)$ http://www.xxxxx.com/ [R=301,L]


ErrorDocument 400 /index.html
ErrorDocument 401 /index.html
ErrorDocument 403 /index.html
ErrorDocument 404 /index.html
ErrorDocument 500 /index.html

RewriteEngine On

#RewriteBase /
RewriteRule ^kategorie-(.*)-([0-9]+)\.php$ categories.php?cat_id=$2&%{QUERY_STRING}
RewriteRule ^kategorie\.html$ categories.php?%{QUERY_STRING}
#Mod_bmollet : Image name in URL
RewriteRule ^bild-(.*)-([0-9]+)\.php$ details.php?image_id=$2&%{QUERY_STRING}
RewriteRule ^bild([0-9]+)\.search.php$ details.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^bild([0-9]+)\.lightbox.php$ details.php?image_id=$1&%{QUERY_STRING}

#Mod_bmollet : This is to make search function work  ( redirect links from search results )
RewriteRule ^suche\.php$ search.php?%{QUERY_STRING}
RewriteRule ^search\.([0-9]+)\.php$ search.php?page=$1&%{QUERY_STRING}
RewriteRule ^lightbox\.php$ lightbox.php?%{QUERY_STRING}
RewriteRule ^lightbox\.([0-9]+)\.php$ lightbox.php?page=$1&%{QUERY_STRING}

German: Wenn ich das Seo-Mod installiert habe, leiten die alten URL´s nicht auf die neuen URL´s, sodass bei Google ein Bild oder eine Kategorie 2 mal indexiert wird und so Duplicate Content entsteht.

Thanks for every help!


Offline satine88

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #385 on: September 01, 2010, 11:40:39 PM »
Hello
I note that when a visitor does a search, links to images do not rewrite url, is
Can I change?

Thank you

Offline Abu Abdullah

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #386 on: September 09, 2010, 09:22:36 PM »
you can remove duplicate content by using this in your robots.txt

Code: [Select]
Disallow: /*.search.*
Disallow: /*?page=
Disallow: /*&mode=search
Disallow: /*&sessionid=

the problem now with details.php?image_id=X and categories.php?cat_id=X

i don't know if we disallow these  links also it will affect search results or no

thank you

Offline hemi4ever

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #387 on: September 13, 2010, 05:47:11 PM »
done

thanxxxxxxxxxxxxxx  :D

Offline Artikulus

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #388 on: September 18, 2010, 07:47:55 PM »
Hallo,

habe das SEO-Mod installiert. Vorher habe ich die URL der Detail-Seite wie folgt ausgegeben: bla.de/details.php?id={image_id}.

Nun heißt meine suchmaschinenfreundliche URL aber z.B. bla.de/bild-blabla-9574.php. Wie kann ich diese URL ausgeben?

Danke & Grüße

Offline Nosferatu

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Project-Firepower
Re: [MOD] Google Friendly Urls For 4images Best Seo Mod
« Reply #389 on: September 24, 2010, 09:35:08 AM »
Hallo,

i have a new problem.

i have some links like that:

http://www.pj-firepower.com/picgallerie/cat-u%2C-v%2C-w%2C-x%2C-y%2C-z-31.htm


but the real link ist:

http://www.pj-firepower.com/picgallerie/cat-u,-v,-w,-x,-y,-z-25.htm

how can i fix that ?