/    Sign up×
Community /Pin to ProfileBookmark

I can not scan client web site for sitemap.xml

I can not scan client web site for sitemap.xml
I make web site for a client: [url]www.mingbgd.com[/url]
I try to scan this website via the web tool: [url]http://xml-sitemaps.com/[/url]
But is not work, catch only home page.
The site is done in PHP, and all pages lead to index.php via .htaccess file:

RewriteCond% {REQUEST_FILENAME}! -f
RewriteCond% {REQUEST_FILENAME}! -d
RewriteRule. /index.php?/$1 [L]

Parses the URL with PHP and is determined about where the page is about.
I have no idea what the problem is.
Let your idea of help?

to post a comment
PHP

7 Comments(s)

Copy linkTweet thisAlerts:
@Kevin2Jul 31.2015 — all pages lead to index.php via .htaccess file[/QUOTE]

Umm. Isn't that the answer? Change your .htaccess.
Copy linkTweet thisAlerts:
@jedaisoulJul 31.2015 — You have explained that every file request is redirected to index.php. Why do you expect to be able to access any file other than that??? The problem is the very structure of the site. Why was it written that way?
Copy linkTweet thisAlerts:
@sistemauthorJul 31.2015 — In this way works PHP frameworks.

Example if the link: nesto.com/category/name/

From this link PHP catch this part "category/name/" and parse that.

On this basis, we determine which pages will be displayed
Copy linkTweet thisAlerts:
@NogDogJul 31.2015 — Maybe something like this?
<i>
</i>RewriteCond% {REQUEST_FILENAME}! -f
RewriteCond% {REQUEST_FILENAME}! -d
RewriteCond %{THE_REQUEST} !/(robots.txt|sitemap.xml)s [NC]
RewriteRule. /index.php?/$1 [L]

Taken from http://stackoverflow.com/questions/29355697/htaccess-exclude-sitemap-xml-and-robots-txt-from-https , so no guarantees. ?
Copy linkTweet thisAlerts:
@jedaisoulJul 31.2015 — Then you have a problem! ? Perhaps the rewrite rule could be made more specific?
Copy linkTweet thisAlerts:
@sistemauthorJul 31.2015 — The proposal which gave NogDog does not work,

Still I can not create a sitemap file.

I do not know whether there has been .htaccess file or a real problem and my PHP parsing link
Copy linkTweet thisAlerts:
@sistemauthorAug 01.2015 — I found out why I have this problem.

The problem is hosting.

I transferred web site to another shared hosting and everything was OK.
×

Success!

Help @sistem spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...