Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Naveen

Pages: 1 [2] 3
16
Hi,

I have a modified 1.7.1 version of 4images script, I went on to delete near around 2500 images from the site. These pages were cache in google and followed. Now the problem is that, all these pages return an empty page rather than redirect to home page or give a 404 errors, it is affecting the site negatively.

I tried the same with random non existing  image ids and all of those return a empty page rather than a 404. I would like to get rid of all those empty redirect pages. Following is the htaccess code which needs to be modified, I believe.

http://www.domain.com/photos/img1001.htm and so on return empty pages.. (EDIT) Ok just found out that it works fine on IE but not on other browsers.

Code: [Select]
Options +FollowSymLinks
RewriteEngine on
#
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.domain\.com
RewriteRule (.*) http://www.domain.com/photos/$1 [R=301,L]

RewriteEngine On
#RewriteBase /
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 ^cat\.htm$ categories.php?%{QUERY_STRING}
RewriteRule ^cat([0-9]+)\.([0-9]+)\.htm$ categories.php?cat_id=$1&page=$2&%{QUERY_STRING}
RewriteRule ^cat([0-9]+)\.htm$ categories.php?cat_id=$1&%{QUERY_STRING}

RewriteRule ^img([0-9]+)\.htm$ details.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.([a-zA-Z0-9]+)\.htm$ details.php?image_id=$1&mode=$2&%{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 ^sitemap.xml$ smp.php

Please do help as it is really important for me.

17
This is the MOD - http://www.4homepages.de/forum/index.php?topic=6729.0

Later with your help I had made some more modification.

18
Please Help  :(

19
I had modified my installation with custom made V@no's search engine friendly urls. Off late I had deleted several images, this has resulted in many blank / empty redirect errors in the google webmaster tools. The deleted images result in a blank page and do not show 404 or redirect to the site.

for eg: deleted image ......  www.domain.com/img1234.html results in a blank page with no content at all. Following is the code in my htaccess

Code: [Select]
RewriteEngine On
#RewriteBase /
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 ^cat\.htm$ categories.php?%{QUERY_STRING}
RewriteRule ^cat([0-9]+)\.([0-9]+)\.htm$ categories.php?cat_id=$1&page=$2&%{QUERY_STRING}
RewriteRule ^cat([0-9]+)\.htm$ categories.php?cat_id=$1&%{QUERY_STRING}

RewriteRule ^img([0-9]+)\.htm$ details.php?image_id=$1&%{QUERY_STRING}
RewriteRule ^img([0-9]+)\.([a-zA-Z0-9]+)\.htm$ details.php?image_id=$1&mode=$2&%{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 ^sitemap.xml$ smp.php

20
Hi V@no  :D

I tried to do what you said and it also returned a blank page when I was using Mozilla but I tried it using in IE and it worked just fine with the edited files.

Some how it works in IE and does not seem to work in Mozilla and Google Sitemaps (Google Sitemaps shows all the pages as errors and empty redirect)

21
Any life savers?  :cry:

22
Discussion & Troubleshooting / Blank redirect for deleted images
« on: May 12, 2009, 08:10:08 AM »
Hi,

Im using the search engine friendly mod on my images gallery. I recently deleted few images, these images are indexed by search engines and traffic coming to these pages is redirected to a blank page instead of a redirect to the home page of the gallery.

EG: image 4234 is been deleted and now --

http://domain.com/img4234.htm is a empty redirect rather than a redirect to home page as it should be.

What can I change so that pages of deleted images are redirected to index page than a empty page. (empty page = 0 size page)


23
Mods & Plugins (Requests & Discussions) / Re: Random Category
« on: September 10, 2007, 10:34:40 PM »
Hey   8)

Thank you, Thank you!

I needed it badly :), You guys are great!

Keep up the good work.  :mrgreen:


(BTW how do I use it in 4images itself?)

24
Mods & Plugins (Requests & Discussions) / Re: Random Category
« on: September 06, 2007, 10:23:43 PM »
I'm still looking for this mod, can anyone help?

25
Mods & Plugins (Requests & Discussions) / Re: Random Category
« on: December 07, 2006, 05:31:28 PM »
bumpty bump  :oops:

26
Ok there is an error in the sitemap.

There is no Last Modified Date for categories and google throws that as an error. Maybe we can assign current date there similar to $mod

27
Thanx a million  :lol:

This is an excellent MOD, been looking for it for quite a while now.

Cheers  :mrgreen:

28
Mods & Plugins (Requests & Discussions) / Re: Random Category
« on: November 27, 2006, 05:14:30 AM »
Yeah as text, Should show 10 categories.  :mrgreen:

29
Mods & Plugins (Requests & Discussions) / Re: Random Category
« on: November 12, 2006, 10:05:39 AM »
Anyone?  8)

30
Mods & Plugins (Requests & Discussions) / Random Category
« on: November 08, 2006, 05:15:56 PM »
Hi  :D,

I did search the forum regarding this but ended up with nothing.

Can we have a Mod for Random Category? I would like to display Random Categories on my home page.

Something similar to what we have for "Random Images Mod"

Thanx  :mrgreen:

Pages: 1 [2] 3