Error robot SEO and redirect automatic on index.html

<< Click to Display Table of Contents >>

Navigation:  Forum >

Error robot SEO and redirect automatic on index.html

Forum link

 


 

08-25-2021, 02:17 PM:

 

Hello,

 

with 15.2.25  on delphi 10.4.2

 

I have a commercial site that performs very bad with SEO, error page 404!

 

Let me explain

 

  The several pages are static in pure HTML and work normally with the browser navigate normally whitout PB.

 

 

 

 Sometimes CEO robots have an access PB for 404 referencing !!

 

 

 

   I specify, I have an index.html page by default site

 

ex 1:

 

https://monsite.com   

 

Intraweb redirect  always towards index.html for each new session

 

ex 2:

 

https://monsite.com/page2.html   

 

Intraweb redirect  always towards index.html for each new session, it 's not normally for me

 

Question 1:

 

Why when you open a session (SEO or with a normal browser) there is redirection to index.html automatically, how to remove that.

 

if I want https: //mysite/page2.html

 

where is the setting in servercontroller?

 

Question 2:

 

For optimization CEO, in your doc what is "TIWSearchEngineOptions" used for and how it works ?

 

Question 3:

 

 What is "FullApplicationURL" used for and how does it work ?

 


 

08-30-2021, 05:09 AM:

 

Quote:Question 1:

 

Why when you open a session (SEO or with a normal browser) there is redirection to index.html automatically, how to remove that.

 

if I want https: //mysite/page2.html

 

where is the setting in servercontroller?

 

IntraWeb does not redirect automatically to index.html, unless you have (a) a redirection in code or (b) a content handler which redirects it. Do you have either of them?

 

Quote:Question 2:

 

For optimization CEO, in your doc what is "TIWSearchEngineOptions" used for and how it works ?

 

Some information here: http://docs.atozed.com/docs.dll/classes/...tions.html

 

Basically it's just a way to redirect any request from a Search engine/bot to a content handler

 

Quote:Question 3:

 

 What is "FullApplicationURL" used for and how does it work ?

 

From our docs:

 

FullApplicationURL [Public]

 

Quote:Declaration: class function FullApplicationURL(ARequest: THttpRequest): string;

 

Description: Returns the full URL for the application

 

Parameters:ARequest (THttpRequest): The request object instance

 

 

 

 

 

Result: A string containing the full URL.

 

Basically it returns the application URL containing all parts, including protocol, domain and port, example:

 

https://yourdomain.com:8881