Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 191
Total: 191

Author Topic: SEF url issue  (Read 5186 times)

0 Members and 1 Guest are viewing this topic.

Offline viren

  • Member
  • *
  • Posts: 4
    • View Profile
SEF url issue
« on: July 17, 2013, 04:19:50 am »
I have installed the classified add on but it is giving error on sef url
here is my forum
http://www.plumbers.co.nz/forum/classifieds/sa=view;id=6

when I click on buy it now it takes me to http://www.plumbers.co.nz/forum/classifieds&sa=placebuy&id=6 and gives 404 not found  error.
however when I manually change the URL in browser to http://www.plumbers.co.nz/forum/classifieds/sa=placebuy&id=6 it shows the page.

I try to change htaccess but couldn't get right rule, I also try to change url code in files but that not help.

Please can you help me.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SEF url issue
« Reply #1 on: July 17, 2013, 07:43:36 am »
Replies to your email

This is caused by mod_security
Option 1 read over
http://wiki.simplemachines.org/smf/Mod_security_-_Having_problems_with_mod_security
Best bet is to ask your host to disable mod_security for your website

Option 2
Manually change the classifieds files

Open sources/Classifieds2.php
Find All
Code: [Select]
;id=
Replace with
Code: [Select]
&id=


Open thmes/default/classfiieds2.template.php
Find All
Code: [Select]
;id=
Replace with
Code: [Select]
&id=




SMFHacks
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline viren

  • Member
  • *
  • Posts: 4
    • View Profile
Re: SEF url issue
« Reply #2 on: July 18, 2013, 12:29:33 am »
Hello Admin,

Thanks for your reply.

I had tried both method as you suggested. mod_security and manually replace code in files. unfortunately both didn't worked.

I would like to bring your attention on given url

not working: http://www.plumbers.co.nz/forum/classifieds&sa=placebuy&id=6
working: http://www.plumbers.co.nz/forum/classifieds/sa=placebuy&id=6

as you can see the difference between url is query string separator in first url there is classifieds&sa=placebuy and in second url there is classifieds/sa=placebuy

I didn't understand other add on are working fine with SEF but not classified.

I didn't changed code apart from what you suggested above.

I have attached respective files, would you please go through them and help me.

Regards,



Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SEF url issue
« Reply #3 on: July 18, 2013, 11:35:00 pm »
The classified files look fine

Looks like a bug with the seo mod which is rewriting the urls

I would disable it from rewriting the classifieds urls
maybe something added to the .htaccess files such as
Code: [Select]
RewriteRule ^classifieds/?$ /classifieds/ [L,QSA]
[code]
[/code]
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline viren

  • Member
  • *
  • Posts: 4
    • View Profile
Re: SEF url issue
« Reply #4 on: July 19, 2013, 12:26:08 am »
thanks for the tip, unfortunately this also not worked  :(

would you suggest some alternate. I really not getting what is wrong with it.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SEF url issue
« Reply #5 on: July 19, 2013, 09:04:15 am »
The seo mods is rewriting the classifieds urls breaking it from working.
You could also trry renaming the classifieds folder to something else and then changing that in your classifieds settings area.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline viren

  • Member
  • *
  • Posts: 4
    • View Profile
Re: SEF url issue
« Reply #6 on: July 20, 2013, 06:51:49 am »
it didn't worked either :(

I changed folder name and settings as well, but same problem

I am in trouble, please help

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SEF url issue
« Reply #7 on: July 20, 2013, 08:04:23 am »
Contact the author of the SEO mod and see if there is a way to disable the action rewriting for the classified system. That is the cause of the problems right now.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
10068 Views
Last post April 04, 2013, 08:59:07 pm
by SMFHacks
2 Replies
2839 Views
Last post June 30, 2013, 05:34:20 pm
by sluggo2u
6 Replies
5439 Views
Last post September 02, 2014, 08:53:18 pm
by shuban
1 Replies
3535 Views
Last post January 22, 2015, 10:09:00 am
by SMFHacks
4 Replies
3211 Views
Last post October 17, 2015, 06:07:24 pm
by DAProgs

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal