Jump to content


Photo

Search enginge links


  • Please log in to reply
6 replies to this topic

#1 Creaky

Creaky

    Advanced Member

  • +Clients
  • 346 posts

Posted 13 September 2011 - 01:50 PM

I recently converted my site from phpBB to IPB and have just realised some search engine links arent working. Links such as this go to the homepage instead of the correct topic.

http://www.gadgetbit...com/?f=21&t=634

This is my config.php file from the converter package
<?php
 
	// THE URL TO YOUR IPB FORUMS (no trailing slash or index.php)
	define('IPB_URL', 'http://www.gadgetbit.com');
	
	// THE PATH TO YOUR IPB FORUMS (no trailing slash)
	define('IPB_PATH', '/public_html');
	
	// THE CONVERSION ID
	// This would have been asked for when setting up the converters
	define('CONV_ID', 'phpbb');
	
?>

The previous forum was in root/forum but the new one is in root. Is this the cause of the problem and if so how can I get round it?

#2 Alex

Alex

    Needs Hobby

  • +Clients
  • 4,487 posts

Posted 13 September 2011 - 02:49 PM

Double check the forum path, /public_html is a relative path compared to your user directory. PHP needs to know the complete path, which is usually /home/username/public_html - where username is the user you log into cPanel as.

Alex Hobbs
alex[at]alexhobbs.co.uk | Twitter


#3 Creaky

Creaky

    Advanced Member

  • +Clients
  • 346 posts

Posted 13 September 2011 - 04:38 PM

I took that from the uploads directory setting as I've read elsewhere, will double check it though

#4 Creaky

Creaky

    Advanced Member

  • +Clients
  • 346 posts

Posted 13 September 2011 - 05:18 PM

I have changed the file which now looks like this but still doesn't appear to be working correctly.

<?php
 
	// THE URL TO YOUR IPB FORUMS (no trailing slash or index.php)
	define('IPB_URL', 'http://www.gadgetbit.com');
	
	// THE PATH TO YOUR IPB FORUMS (no trailing slash)
	define('IPB_PATH', '/home/MYSITE/public_html');
	
	// THE CONVERSION ID
	// This would have been asked for when setting up the converters
	define('CONV_ID', 'phpbb');
	
?>

This is a link to a topic on my old site
http://www.gadgetbit...c.php?f=6&t=803

This is the topic it should end up at but still directs to the home page.
http://www.gadgetbit...-url-shortener/

#5 sobrenome

sobrenome

    Spam Happy

  • +Clients
  • 563 posts

Posted 05 June 2012 - 10:40 AM

I am having the same problem.

IPB returns an ERROR 404.

#6 k-mi

k-mi

    IPB Newbie

  • +Clients
  • 43 posts

Posted 05 July 2012 - 05:51 PM

I am also getting 404 - I'v e got a current ticket open.
Was this resolved?

#7 1stforFrenchProperty

1stforFrenchProperty

    IPB Newbie

  • Visitors
  • Pip
  • 1 posts

Posted 24 July 2012 - 08:41 AM

Interesting topic - if you are migrating from another brand of forum software what happens to all the google love that particualr posts have ranked up; do you have to use 404's to redirect?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users