21
1000ac
Re: SEO hack for CBB v3.08
  • 2007/11/5 22:00

  • 1000ac

  • Just popping in

  • Posts: 74

  • Since: 2005/9/14


Hi Aproape
I have now the same XOOPS and CBB version as yours and I have a new problem.
When Suin's simplified URL on(with phpbb disabled) I get a blank page. When I disable Suin's hack in mainfile php the pages are loading correctly but it is still showing the PHP URL's.
With Suin's hack enabled and your hack disabled I also get PHP URL's.
I have been playing and trying everything all day but nothing works.
Is there any requirement needed in the server?

22
aproape
Re: SEO hack for CBB v3.08
  • 2007/11/6 3:36

  • aproape

  • Just popping in

  • Posts: 19

  • Since: 2007/2/19


Hi there 1000ac,

Quote:

1000ac wrote:
Hi Aproape
I have now the same XOOPS and CBB version as yours and I have a new problem.
When Suin's simplified URL on(with phpbb disabled) I get a blank page. When I disable Suin's hack in mainfile php the pages are loading correctly but it is still showing the PHP URL's.
With Suin's hack enabled and your hack disabled I also get PHP URL's.
I have been playing and trying everything all day but nothing works.
Is there any requirement needed in the server?


Hmm - try to download again the archive - same location/name.

I have slightly updated the seo_url.php file.. I think I found the issue for Suin's URL blank page.

Try it and let me know - merci!


A bientot,
aproape

23
1000ac
Re: SEO hack for CBB v3.08
  • 2007/11/6 23:58

  • 1000ac

  • Just popping in

  • Posts: 74

  • Since: 2005/9/14


Hi Aproape
I tried that and it fixed the blank page problem but I couldn't get to have the URL's with the keywords included.
I migrated the CBB module to SMF with a SEO hack.
I think I will also get rid of the whole XOOPS portal very soon too. XOOPS is not what it used to be 5 years ago when I started my website and I am getting tired of it's limitations.
Thank you very much for your help. Your mod allowed me to have a better forum.

24
Didier_mDF
Re: SEO hack for CBB v3.08
  • 2007/11/7 0:05

  • Didier_mDF

  • Just popping in

  • Posts: 2

  • Since: 2007/11/6


Hi everybody,

I was glad to test your hack but I had the same problem as 1000ac with URL like :
/forum/t/331//?&forum=23 (with the two //)

So, it seems that the problem comes from the prefix of the table in queries in the file seo_url.php. We don't have the same prefix as yours.

I'm not good enough to give a solution but I directly try to replace the prefix with mine and it seems to work better now.
I've got URL likehttps://xoops.org/forums/t/61568/seo-hack-for-cbb-v3.08/?&forum=23
(we nearly get it !)

I hope this will help you...

Best regards, and thanks for sharing your work

(sorry, english is not my language)

25
1000ac
Re: SEO hack for CBB v3.08
  • 2007/11/7 0:49

  • 1000ac

  • Just popping in

  • Posts: 74

  • Since: 2005/9/14


I moved my forum to a different module today and now you come with a solution. Don't worry, it's not your fault, I am generally not a lucky guy
Your forum looks great the way it is.
Merci Didier de partager ta solution.

26
aproape
Re: SEO hack for CBB v3.08
  • 2007/11/7 0:49

  • aproape

  • Just popping in

  • Posts: 19

  • Since: 2007/2/19


Bonjour Didier!

Quote:

Didier_mDF wrote:
Hi everybody,

I was glad to test your hack but I had the same problem as 1000ac with URL like :
/forum/t/331//?&forum=23 (with the two //)

So, it seems that the problem comes from the prefix of the table in queries in the file seo_url.php. We don't have the same prefix as yours.

I'm not good enough to give a solution but I directly try to replace the prefix with mine and it seems to work better now.
I've got URL likehttps://xoops.org/forums/t/61568/seo-hack-for-cbb-v3.08/?&forum=23
(we nearly get it !)

I hope this will help you...

Best regards, and thanks for sharing your work

(sorry, english is not my language)


Indeed - that was the issue.

I completely forgot that my tables prefix are different - indeed - than the ones XOOPS uses by default.

You have successfully installed it This is the proper format of the URL.

I will try to update the package so that it shows the default table prefix.

Merci!


A bientot,
aproape

27
aproape
Re: SEO hack for CBB v3.08
  • 2007/11/7 0:53

  • aproape

  • Just popping in

  • Posts: 19

  • Since: 2007/2/19


Heya 1000ac,

Quote:

1000ac wrote:
I moved my forum to a different module today and now you come with a solution. Don't worry, it's not your fault, I am generally not a lucky guy
Your forum looks great the way it is.
Merci Didier de partager ta solution.


Sorry to hear you moved - and my apologies for the prefix tables issue.. hard to debug without seeing anything! )

But.. I am glad you found something better - you might also want to take a look at:

http://fudforum.org/forum/

I think it's quite an interesting forum.. and very well coded.

Let me know if you have any other questions.. who knows - maybe I will be able to help that time!


A bientot,
aproape

28
1000ac
Re: SEO hack for CBB v3.08
  • 2007/11/7 0:57

  • 1000ac

  • Just popping in

  • Posts: 74

  • Since: 2005/9/14


No problem Aproape. I understand that helping others from a forum can be harder than making a mod.
I am still glad you gave me a chance to think about the SEO side of my website.
Thank you again.

29
Didier_mDF
Re: SEO hack for CBB v3.08
  • 2007/11/7 1:11

  • Didier_mDF

  • Just popping in

  • Posts: 2

  • Since: 2007/11/6


aproape,

I enjoy with your code and I'm just trying to replace this line :
$add_to_url 't/'.$mvars[1].'/'.forum_seo_topic($mvars[1]).'/';

by this :
$add_to_url 't/'.$mvars[1].'-'.forum_seo_topic($mvars[1]).'.html';


and it seems to... work !

Can we continue in this way ? I think it would be great to obtain such ".html" URL ? What do you think about that ?

Regards,

30
Kieran
Re: SEO hack for CBB v3.08
  • 2007/11/8 3:18

  • Kieran

  • Just popping in

  • Posts: 32

  • Since: 2007/7/12


I'm sorry if this is a stupid question but is there any way I can still use this seo hack if my server host does not allow rewite? If not, is there any solution (to use this hack and also the smartsection seo option) or is the only way to change server host?

Thanks!!!

Login

Who's Online

206 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

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

Latest GitHub Commits