Time2Dine.co.nz is Online Restaurant Booking
 
 New Zealand Restaurants Forum
Restaurant Forum | Contact Time2Dine | Book Online & Save | About Time2Dine

Go Back   New Zealand Restaurants & Food Forum > Search Engine Optimisation > Google
Register

Reply
 
LinkBack Thread Tools
  #1  
Old 16th Oct 06, 12:16 PM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,839
T2DMan is on a distinguished road
Default SEO AZ Photo Album Script Pro

AZ Photo Album Script Pro

SEO AZ Photo Album Script Pro,
SEO is needed for most scripts that I come across, and the AZ Photo Album Script Pro product is another example.

changes made:

index.php file
added the following just after the <? at the top of the file. Gets rid of the index.php/301 redirects to the root of that page. Simpler thanfinding every mention of index.php and changing to root.
[PHP]
if(preg_match("/[index.php]$/",$_SERVER[REQUEST_URI]))
{

$url="http://".$_SERVER[HTTP_HOST].preg_replace("/(index.php)$/","",$_SERVER[REQUEST_URI]);
$sapi=php_sapi_name();
if (PHP_VERSION >= '4.3.0')
{
header("Location: $url", 0, 301);
}
else if ($sapi == 'cgi' OR $sapi == 'cgi-fcgi')
{
header("Location: $url");
// Call the status header after Location so we are sure to wipe out the 302 header sent by PHP
header('Status: 301 Moved Permanently');
}
else
{
header("Location: $url");
header('HTTP/1.1 301 Moved Permanently');
}
}
[/PHP]
__________________

Michael Brandon
T2DMan

Please register as a user and send a PM to contact me. Instant messaging options on my profile.

Diners - Book Auckland Restaurants online, special deals, photos full menus and wine lists.

Restaurants - Listing Details - Open to restaurants nationwide New Zealand - get a full listing on Time2Dine
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clients fail to follow SEO recommendations T2DMan Google 0 7th Oct 05 07:10 AM



Powered by: vBulletin Copyright ©2000 -2012, Jelsoft Enterprises Limited.
Search Engine Friendly URLs by vBSEO 3.2.0
© 2010 Time2Dine