WebSite X5Help Center

 
Marian Sorin
Marian Sorin
User

Problems displaying pages from Blog  en

Автор: Marian Sorin
Просмотрено 1480, Подписчики 2, Размещенный 0  
Тэги: blog,displaying,pages

I have a problemwith displaying the pagescreated in blog,depending on theformat ofthe URL.

For example, ablogpageaddresslocated in thefolder:

- http://www.infoghidromania.com/blog/index.php?id=s7y7h999  -is displayedcorrectlyin the browser, but

- http://blog.infoghidromania.com/?id=s7y7h999  - asGooglesees it- notdisplayedcorrectly.

My questionis whythe blogpagesare displayeddifferently depending onthe URLand how tofix it?

Thank you

Размещено
8 Ответы - 1 Корректно
Incomedia
Claudio D.
Incomedia

Hello Marian,

The second link is not displaying correctly the website because it's searching the css style files in a different path structure (www.infoghidromania.com/blog/).

You need to check how the third-level domain was activated and check the server settings.

Читать больше
Размещено От Claudio D.
Marian Sorin
Marian Sorin
User
Автор

I do not knowexactly whatI need to dothe serversettings,I have attacheda pictureDNSwebserver,iftherebesuchsetsomethingbe done and how?

Thanks

Читать больше
Размещено От Marian Sorin
Incomedia
Claudio D.
Incomedia

Hello Marian,

Unfortunately I can't help you with the settings of the server. It's probably better if you contact the server support because they can help you better. They know how their server is configured and can explain how to solve the issue.

If you require any further information, please feel free to write back.

Читать больше
Размещено От Claudio D.
Marian Sorin
Marian Sorin
User
Автор

OK, Thank you Claudio

Читать больше
Размещено От Marian Sorin
Marian Sorin
Marian Sorin
User
Автор

I contactedmyproviderandthey saidtheycan not do anythingeitherbecause the problemis thatCSSfilecan not be accessedbecause itis not found inthe samesubdomain.

Читать больше
Размещено От Marian Sorin
Incomedia
Claudio D.
Incomedia

Hello Marian,

The only solution to your issue would be to change inside the HTML the links to the css files and the images but if you make any changes to the project and export it again you need to change these links again.

I would suggest you to insert, in case someone opens blog.infoghidromania.com, a .htaccess redirect to www.infoghidromania.com/blog/ and so it will work perfectly.

Please feel free to write back if you need more information.

Читать больше
Размещено От Claudio D.
Marian Sorin
Marian Sorin
User
Автор

I triedto writinga codein the htacces filebutdoes not working,  probablywrongcodehas been entered.Can youhelp mewith the right code?Thank you.

Читать больше
Размещено От Marian Sorin
Marian Sorin
Marian Sorin
User
Автор

I solvedthe problemwiththe following code:

"RedirectMatchpermanent^/ $http://www.mysite.com/folder/"  insertedin the .htaccess file that wasuploadedinthe folder thatinterestedme.

Читать больше
Размещено От Marian Sorin