Facebook 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4282
Latest: Eric87
New This Month: 7
New This Week: 0
New Today: 0
Stats
Total Posts: 43664
Total Topics: 7576
Most Online Today: 86
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 61
Total: 62

Author Topic: PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole  (Read 9123 times)

0 Members and 1 Guest are viewing this topic.

Offline TheBags

  • Member
  • *
  • Posts: 6
    • View Profile
Hi,
I buy the PrettyUrls SEO Pro and I configured it on my forum.

But when I try to submit the sitemap link ( https://e-powerengineforum.it/index.php?action=sitemaps&xml=1 ) to google search console it gives me an error:
Code: [Select]
Couldn't fetch
[ Guests cannot view attachments ]

[ Guests cannot view attachments ]

This is my robots.txt:
Code: [Select]
User-agent: *
Disallow: /*action
Disallow: /*PHPSESSID
Disallow: /*;
Allow: /$
Allow: /*board=*.0$
Allow: /*topic=*.0$
Allow: /*.xml
Allow: /*.css$
Allow: /*.js$
Allow: /*.png$
Allow: /*.jpg$
Allow: /*.gif$


Sitemap: https://e-powerengineforum.it/index.php?action=sitemaps&xml=1

Can someone help me?

tnx,
TheBags

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16618
    • View Profile
Re: PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole
« Reply #1 on: August 29, 2023, 06:35:14 am »
Can share the screenshot of the google console with the url you submitted the base?
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 TheBags

  • Member
  • *
  • Posts: 6
    • View Profile
Re: PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole
« Reply #2 on: August 31, 2023, 01:34:06 am »
Can share the screenshot of the google console with the url you submitted the base?


Hi,
I've already posted the images in the previous post but I can attach it again

[ Guests cannot view attachments ]

This is my .htaccess:
Code: [Select]
# PRETTYURLS MOD BEGINS
# Pretty URLs SEO Pro mod
# https://www.smfhacks.com/prettyurls-seo-pro.php
# .htaccess file generated automatically on: August 29, 2023, 11:06

RewriteEngine on
RewriteBase /

# Rules for: actions
RewriteRule ^(agreement|acceptagreement|activate|admin|announce|attachapprove|buddy|calendar)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(clock|coppa|credits|deletemsg|dlattach|editpoll|editpoll2|findmember)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(groups|help|helpadmin|jsmodify|jsoption|likes|lock|lockvoting)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(login|login2|logintfa|logout|markasread|mergetopics|mlist|moderate)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(modifycat|movetopic|movetopic2|notifyannouncements|notifyboard|notifytopic|pm|post)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(post2|printpage|profile|quotefast|quickmod|quickmod2|recent|reminder)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(removepoll|removetopic2|reporttm|requestmembers|restoretopic|search|search2|sendactivation)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(signup|signup2|sitemaps|prettyurls|smstats|suggest|splittopics|stats)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(sticky|theme|trackip|about:unknown|unread|unreadreplies|uploadAttach|verificationcode)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(viewprofile|vote|viewquery|viewsmfile|who|\.xml|xmlhttp|forum)/?$ ./index.php?pretty;action=$1 [L,QSA]
RewriteRule ^(gpdr|sitemap_xsl|keywords)/?$ ./index.php?pretty;action=$1 [L,QSA]

# Rules for: boards
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([0-9]*)/?$ ./index.php?pretty;board=$1.$2 [L,QSA]

# Rules for: topics
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/?$ ./index.php?pretty;board=$1;topic=$2.0 [L,QSA]
RewriteRule ^([-_!~*'()$a-zA-Z0-9]+)/([-_!~*'()$a-zA-Z0-9]+)/([0-9]*|msg[0-9]*|new)/?$ ./index.php?pretty;board=$1;topic=$2.$3 [L,QSA]

# PRETTYURLS MOD ENDS


Tnx,
Giovanni
« Last Edit: August 31, 2023, 01:38:16 am by TheBags »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16618
    • View Profile
Re: PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole
« Reply #3 on: August 31, 2023, 08:15:18 am »
Try to fetch as googlebot in google webmaster tools and see what it looks like.

I also see you are using cloudflare you might have to add a rule incase they are blocking the google ip for some reason.
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 TheBags

  • Member
  • *
  • Posts: 6
    • View Profile
Re: PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole
« Reply #4 on: August 31, 2023, 09:24:43 am »
Try to fetch as googlebot in google webmaster tools and see what it looks like.

I also see you are using cloudflare you might have to add a rule incase they are blocking the google ip for some reason.


Hi,
I'm using CloudFlare with all my sites and I've never had problems with sitemap.

BTW I made also this tests:
- Stop CloudFlare cache --> same result :-[
- bypass Cloudflare --> same result :-[

I buyed this PRO mod to have a good sitemap.
If I can't use it with Google, I hope I can receive a refund.


Please let me know (also in private msg).

Tnx
Giovanni

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16618
    • View Profile
Re: PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole
« Reply #5 on: August 31, 2023, 09:40:42 am »
Can you check your server logs?
Try this url instead
https://e-powerengineforum.it/index.php?action=sitemaps;xml=1

Delete from google again and add it again

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 TheBags

  • Member
  • *
  • Posts: 6
    • View Profile
Re: PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole
« Reply #6 on: August 31, 2023, 10:04:03 am »
Can you check your server logs?
Try this url instead
https://e-powerengineforum.it/index.php?action=sitemaps;xml=1

Delete from google again and add it again

Hi,
tnx, for your fast reply.

So, I try to add the new link you suggested but without success  :-[

[ Guests cannot view attachments ]

Here you can find the site logs:
[ Guests cannot view attachments ]

No errors into the logs.

Giovanni

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16618
    • View Profile
Re: PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole
« Reply #7 on: August 31, 2023, 10:10:31 am »
Attached .xml version of sitemap.
Upload to your site and test.
If still broken I would contact google.
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 TheBags

  • Member
  • *
  • Posts: 6
    • View Profile
Re: PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole
« Reply #8 on: August 31, 2023, 10:38:01 am »
Attached .xml version of sitemap.
Upload to your site and test.
If still broken I would contact google.

Hi,
I've already tested with this method and it works.

The problem is that seems google is unable to read that kind of link (https://e-powerengineforum.it/index.php?action=sitemaps&xml=1)

Also using a wget it doesn't work:

Code: [Select]
➜  TheBags wget -O /Users/giovannibagagli/Downloads/CS/sitemap.xml 'https://e-powerengineforum.it/index.php?action=sitemaps&xml=1'
--2023-08-31 17:27:41--  https://e-powerengineforum.it/index.php?action=sitemaps&xml=1
Risoluzione di e-powerengineforum.it (e-powerengineforum.it)... 104.21.0.227, 172.67.128.91
Connessione a e-powerengineforum.it (e-powerengineforum.it)|104.21.0.227|:443... connesso.
Richiesta HTTP inviata, in attesa di risposta... 500 Internal Server Error
2023-08-31 17:27:43 ERRORE 500: Internal Server Error.

I get this error from the server:
Code: [Select]
Got error 'PHP message: PHP Fatal error:  Uncaught ArgumentCountError: file_put_contents() expects at least 2 arguments, 1 given in /volume1/WWW/epower/Themes/default/PrettyUrls.template.php:250\nStack trace:\n#0 /volume1/WWW/epower/Themes/default/PrettyUrls.template.php(250): file_put_contents('/volume1/WWW/ep...')\n#1 /volume1/WWW/epower/Sources/Load.php(2817): template_pretty_xml_sitemap()\n#2 /volume1/WWW/epower/Sources/Subs.php(4183): loadSubTemplate('pretty_xml_site...')\n#3 /volume1/WWW/epower/index.php(199): obExit(NULL, true, true)\n#4 {main}\n  thrown in /volume1/WWW/epower/Themes/default/PrettyUrls.template.php on line 250'"
I think this could help.

Giovanni

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16618
    • View Profile
Re: PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole
« Reply #9 on: August 31, 2023, 10:44:31 am »
Try this file with a fix.
Copy to your themes/default folder
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 TheBags

  • Member
  • *
  • Posts: 6
    • View Profile
Re: PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole
« Reply #10 on: August 31, 2023, 10:52:35 am »
Try this file with a fix.
Copy to your themes/default folder

It works with wget but not on Google Search...

[ Guests cannot view attachments ]

But in this case, using wget,  I can create a script that generates the sitemap.xml every day.

Tnx a lot  ;D

Giovanni

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16618
    • View Profile
Re: PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole
« Reply #11 on: August 31, 2023, 10:55:22 am »
Hmm yeah since that page should auto make sitemap.xml with the fix 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/
Like Like x 1 View List

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
8181 Views
Last post July 03, 2006, 02:23:31 am
by MyFSI
1 Replies
10589 Views
Last post January 15, 2007, 09:21:22 pm
by husmen73
1 Replies
5889 Views
Last post May 14, 2010, 04:05:55 am
by TeeJay
3 Replies
3039 Views
Last post December 23, 2017, 08:39:36 am
by SMFHacks
4 Replies
4287 Views
Last post October 01, 2019, 09:09:38 am
by Rock Lee

+- Recent Topics

Administration Center Clean Up by Senkusha
February 14, 2025, 07:30:31 am

Unknown Column: money by Senkusha
February 13, 2025, 07:02:57 pm

Do you offer paid assistance with the SMFBlog mod? by Grammy
February 11, 2025, 02:58:04 pm

SMFBlog Mod by Grammy
February 10, 2025, 07:33:32 pm

[Mod]Bluesky Auto Embed by SMFHacks
January 30, 2025, 01:47:36 pm

Delete a Picture from Trash - Error by SMFHacks
January 29, 2025, 09:06:38 pm

RESOLVED: Store Not Logging Transactions or Sending Emails by SMFHacks
January 23, 2025, 06:24:27 pm

Ability to exclude categories from ezPortal SMF Gallery random image ezblock by Alistair
January 22, 2025, 08:20:13 am

How to move SMF to new server by SMFHacks
January 21, 2025, 08:45:53 pm

Figuring out settings by SMFHacks
January 12, 2025, 04:56:14 pm

Powered by EzPortal