[RESOLVED] Remove "/web/guest" from url
[RESOLVED] Remove "/web/guest" from url
https://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=447747
2024-03-28T21:25:47Z
2024-03-28T21:25:47Z
RE: [RESOLVED] Remove "/web/guest" from url
John Arguedas
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=84228081
2016-12-29T15:37:36Z
2016-12-29T15:37:36Z
Solution on liferay 7?
John Arguedas
2016-12-29T15:37:36Z
RE: [RESOLVED] Remove "/web/guest" from url
Johann Kneringer
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=18587578
2012-12-13T11:48:57Z
2012-12-13T11:48:57Z
Unfortunatly, this does not work...I am using the following configuration:<br /><br /><VirtualHost *:443><br /> DocumentRoot /var/www<br /><br /> SSLProxyEngine On<br /> ServerName fhonlinetest.fh-kufstein.ac.at<br /> SSLEngine on<br /> SSLCertificateFile /etc/apache2/ssl/apache.pem<br /><br /> <Proxy *><br /> Order deny,allow<br /> Allow from all<br /> </Proxy><br /><br /><br /> ProxyHTMLLogVerbose On<br /> LogLevel Debug<br /><br /> ProxyHTMLDocType "<!DOCTYPE html>"<br /><br /> ProxyRequests Off<br /><br /> ProxyPass / ajp://localhost:8009/<br /> <Location /><br /> ProxyHTMLExtended On<br /> ProxyHTMLInterp On<br /> ProxyPassReverse /<br /> SetOutputFilter INFLATE;proxy-html;DEFLATE<br /> ProxyHTMLURLMap ^/web/(.*)$ /$1 Rli<br /> </Location><br /><br />I use ProxyHTMLInterp On instead of ProxyHTMLEnable On because i use mod_jk 3.0.1.<br /><br />On the error.log I get the following message:<br />"No content-type; bailing out of proxy-html filter, referer: https://mysub.domain.com/web/mysite"<br /><br />Doctype and meta-info:<br /><br /><br /><!DOCTYPE html><html class="ltr" dir="ltr" lang="de-DE"><head><meta http-equiv="X-UA-Compatible" content="IE=7"><title>My Site</title><meta content="text/html; charset=UTF-8" http-equiv="content-type"><br /><br />is there a solution for this?<br /><br />best regards
Johann Kneringer
2012-12-13T11:48:57Z
RE: [RESOLVED] Remove "/web/guest" from url
John Nguyen
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=16570480
2012-09-20T19:26:22Z
2012-09-20T19:26:22Z
<html><head></head><body><div class="quote-title">Arnd Kohlen:</div><blockquote>Our liferay is now running and now it is important to optimize the site for the search engines therefore I need to remove the part "/web/guest" from the url.<br><br>For example:<br>Default: http://www.domain.com/web/guest/services<br>Should be: http://www.domain.com/services<br><br>I was searching for some configuration possibilities but only found a suggestion to use "mod_proxy_html". This module is able to change the url and the links inside the html-code.<br><br>Is there a better way to remove "/web/guest"? I'd like to know if there is an option in liferay (communities, virtual hosts...) to solve this. I just need a yes/no to know if I still have to search for some hacks in the configuration.<br><br>Thank you in advance.<br>Arnd</blockquote><br><br>Basically we took the same route and was successful so far. However, be aware that with this global redirection, it could break some of the pages on the main site if the friendly url matches that of the community site name.<br><br><pre><code>ProxyHTMLExtended On
ProxyHTMLEnable On
SetOutputFilter INFLATE;proxy-html;DEFLATE
ProxyHTMLURLMap ^/web/(.*)$ /$1 Rli
</code></pre></body></html>
John Nguyen
2012-09-20T19:26:22Z
RE: Remove "/web/guest" from url
John Nguyen
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=16413248
2012-09-14T15:37:32Z
2012-09-14T15:37:32Z
Does this help?<br />http://stackoverflow.com/questions/12426047/liferay-removing-web-from-all-community-sites
John Nguyen
2012-09-14T15:37:32Z
RE: Remove "/web/guest" from url
John Nguyen
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=16388405
2012-09-13T18:01:46Z
2012-09-13T18:01:46Z
<div class="quote-title">Arun Krishnan:</div><blockquote>I have a query related to this post, How can I use the same virtual host to remove "/web" for multiple communities?<br /><br />eg : my website is www.abc.com and communities are comm1, comm2 , comm3 ... comm10. I want all communities urls to be prefixed with www.abc.com but no '/web' in it.<br /><br />I am using lifeary portal version 5.1. Please let me know your suggestions.</blockquote><br /><br /><br />Did you ever get this resolved?
John Nguyen
2012-09-13T18:01:46Z
RE: [RESOLVED] Remove "/web/guest" from url
Arun Krishnan
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=6647328
2010-11-30T05:44:37Z
2010-11-30T05:44:37Z
I have a query related to this post, How can I use the same virtual host to remove "/web" for multiple communities?<br /><br />eg : my website is www.abc.com and communities are comm1, comm2 , comm3 ... comm10. I want all communities urls to be prefixed with www.abc.com but no '/web' in it.<br /><br />I am using lifeary portal version 5.1. Please let me know your suggestions.
Arun Krishnan
2010-11-30T05:44:37Z
RE: Remove "/web/guest" from url
Priit Liivak
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=5456965
2010-07-30T12:59:33Z
2010-07-30T12:59:33Z
<div class="quote-title">Dominik Fischer:</div><blockquote><br /><br /><strong>Nevertheless <span style="color: #1422B3">the logo on the top left</span> still points to www.domain.com/web/guest which directs to a different community with different content?<br /><br />There should be no link to an other community.<br />Is there a way to get rid of that web/guest community link? Is it needed from architectural grounds?</strong><br /><br />Best regards,<br />Dominik</blockquote><br /><br />From control panel under Portal -> Settings set the value for home url. For example /services and logo will point to www.domain.com/services
Priit Liivak
2010-07-30T12:59:33Z
RE: Remove "/web/guest" from url
Dominik Fischer
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=5175700
2010-06-27T10:48:55Z
2010-06-27T10:48:55Z
Hey there,<br /><br />I did exactly the same:<br /><br /> 1. I created a community www.domain.com<br /> 2. I created a few public pages and entered the friendly url for them<br /> 3. For the community I entered www.domain.com as virtual host for the "Public Virtual Host"<br /><br />Now I can reach my community via the virtual host url www.domain.com. <img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" ><br /><br /><strong>Nevertheless <span style="color: #1422B3">the logo on the top left</span> still points to www.domain.com/web/guest which directs to a different community with different content?<br /><br />There should be no link to an other community.<br />Is there a way to get rid of that web/guest community link? Is it needed from architectural grounds?</strong><br /><br />Best regards,<br />Dominik
Dominik Fischer
2010-06-27T10:48:55Z
RE: [RESOLVED] Remove "/web/guest" from url
Jerry Niu
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=3753011
2009-08-08T15:14:09Z
2009-08-08T15:14:09Z
<a href="http://www.liferay.com/web/jonathan.neal/blog/-/blogs/lose-ten-pounds-off-your-url">http://www.liferay.com/web/jonathan.neal/blog/-/blogs/lose-ten-pounds-off-your-url</a>
Jerry Niu
2009-08-08T15:14:09Z
RE: [RESOLVED] Remove "/web/guest" from url
Ziggy ©
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=3751760
2009-08-08T00:05:54Z
2009-08-08T00:05:54Z
<div class="quote-title">Jerry Niu:</div><blockquote><a href="http://www.liferay.com/web/jonathan.neal/blog/-/blogs/trackback/lose-ten-pounds-off-your-url">http://www.liferay.com/web/jonathan.neal/blog/-/blogs/trackback/lose-ten-pounds-off-your-url</a></blockquote><br /><br />That link is broken
Ziggy ©
2009-08-08T00:05:54Z
RE: [RESOLVED] Remove "/web/guest" from url
Jerry Niu
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=3751674
2009-08-07T23:37:21Z
2009-08-07T23:37:21Z
<a href="http://www.liferay.com/web/jonathan.neal/blog/-/blogs/lose-ten-pounds-off-your-url">http://www.liferay.com/web/jonathan.neal/blog/-/blogs/lose-ten-pounds-off-your-url</a>
Jerry Niu
2009-08-07T23:37:21Z
RE: [RESOLVED] Remove "/web/guest" from url
Ziggy ©
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=3751321
2009-08-07T22:05:48Z
2009-08-07T22:05:48Z
<div class="quote-title">Tony Portalco:</div><blockquote>This is an important requirement for SEO. Any thoughts on how to achieve this would be most appreciated.</blockquote><br /><br />http://www.liferay.com/web/guest/community/wiki/-/wiki/Main/Virtual+Hosting+(Communities)
Ziggy ©
2009-08-07T22:05:48Z
RE: [RESOLVED] Remove "/web/guest" from url
Tony Portalco
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=3751157
2009-08-07T21:20:09Z
2009-08-07T21:20:09Z
This is an important requirement for SEO. Any thoughts on how to achieve this would be most appreciated.
Tony Portalco
2009-08-07T21:20:09Z
RE: [RESOLVED] Remove "/web/guest" from url
Anthony Cinelli
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=3704205
2009-08-01T00:13:31Z
2009-08-01T00:13:31Z
Hi all,<br /> This works well, however DOES NOT work with the new Liferay 5.2 feature of "Portal IInstances". I have created multiple portal instances, www.example.com , and cannot use this as a Virtual Host value using the method you describe here.<br /><br />Any input?<br /><br />Thanks for all the work you guys are doing, contributing.<br /><br />Anthony
Anthony Cinelli
2009-08-01T00:13:31Z
RE: Remove "/web/guest" from url
Ziggy ©
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=3480986
2009-07-02T18:01:25Z
2009-07-02T18:01:25Z
Yupp here is another idi0t that found this thread usefull <img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" >
Ziggy ©
2009-07-02T18:01:25Z
RE: Remove "/web/guest" from url
Wade MacDonald
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=622506
2008-04-01T17:01:17Z
2008-04-01T17:01:17Z
I agree... post away and solve them too LOL it helps id10t guys like me <img alt="emoticon" src="@theme_images_path@/emoticons/happy.gif" >
Wade MacDonald
2008-04-01T17:01:17Z
RE: Remove "/web/guest" from url
JR Houn
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=448093
2008-02-01T17:43:13Z
2008-02-01T17:43:13Z
Hi Arnd-<br />Glad you solved your problem! Don't worry about 'spamming' our forums, for every question that's asked on these forums there's probably 100 other people wondering how to do the exact same thing. Thanks for posting your question and your solution! Please add a "(RESOLVED)" tag to the subject header of your post. Oh and would you kindly consider adding your question and answer to the Liferay Wiki FAQ page? <a href="http://wiki.liferay.com/index.php/FAQ">http://wiki.liferay.com/index.php/FAQ</a><br />Thanks<br />-jr
JR Houn
2008-02-01T17:43:13Z
RE: Remove "/web/guest" from url
Arnd Kohlen
https://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=447862
2008-02-01T16:52:12Z
2008-02-01T16:52:12Z
Oops, seems like I already solved it...<br /><br /><ul><li>I created a community www.domain.com</li><li>I created a few public pages and entered the friendly url for them</li><li>For the community I entered www.domain.com as virtual host for the "Public Virtual Host"</li></ul><br /><br />This seems to work. There is still access over "/web/guest/pagename" possible but default targets now to /pagename.<br /><br />Sorry for spamming your forums <img alt="emoticon" src="@theme_images_path@/emoticons/big_grin.gif" >
Arnd Kohlen
2008-02-01T16:52:12Z
[RESOLVED] Remove "/web/guest" from url