Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4260
Latest: Verrick
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43323
Total Topics: 7527
Most Online Today: 302
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 267
Total: 267

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

0 Members and 1 Guest are viewing this topic.

Offline TheBags

  • Pretty Urls SEO Pro
  • 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: 16464
    • 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

  • Pretty Urls SEO Pro
  • 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: 16464
    • 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

  • Pretty Urls SEO Pro
  • 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: 16464
    • 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

  • Pretty Urls SEO Pro
  • 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: 16464
    • 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

  • Pretty Urls SEO Pro
  • 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: 16464
    • 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

  • Pretty Urls SEO Pro
  • 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: 16464
    • 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
7950 Views
Last post July 03, 2006, 02:23:31 am
by MyFSI
1 Replies
10431 Views
Last post January 15, 2007, 09:21:22 pm
by husmen73
1 Replies
5819 Views
Last post May 14, 2010, 04:05:55 am
by TeeJay
3 Replies
2974 Views
Last post December 23, 2017, 08:39:36 am
by SMFHacks
4 Replies
3927 Views
Last post October 01, 2019, 09:09:38 am
by Rock Lee

+- Recent Topics

Failed to open stream: File name too long by Randem
June 21, 2024, 10:40:41 am

Attachment images Upsidedown or Sideways by SMFHacks
June 18, 2024, 10:53:24 am

JSON decode error: The maximum stack depth has been exceeded by SMFHacks
June 14, 2024, 10:15:16 pm

“Insert from Gallery” by donk
June 10, 2024, 01:26:57 pm

Pretty Urls extras by SMFHacks
May 13, 2024, 10:28:54 am

Mod question by Verrick
May 11, 2024, 02:42:50 pm

i have paid but cant download ad pro. by SMFHacks
May 02, 2024, 11:29:38 pm

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Powered by EzPortal