eZ Community » Forums » General » Set-up public url to ez-publish site...
expandshrink

Set-up public url to ez-publish site inner page

Set-up public url to ez-publish site inner page

Friday 30 May 2014 9:10:43 pm - 3 replies

I need to access my site inner page from out site. its look like this 

http://dev.abc.com/arbles/yogapage  and http://www.myyoga.com want to display same page. Please let me know how am I fixed this

Friday 30 May 2014 11:45:19 pm

You could set the site IndexPage to http://dev.abc.com/arbles/yogapage

https://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Configuration-files/site.ini/SiteSettings/IndexPage

Modified on Friday 30 May 2014 11:45:49 pm by Betsy Gamrat

Saturday 31 May 2014 8:09:57 am

This solution is not reach my requirement. 

I  have page call http://dev.abc.com/Content2/cp/Yogapage I need to access this page using http://yogapage.com  

Finally when we type above two urls People can see same url. 

One solution is change the massking http://support.godaddy.com/help/article/422/forwarding-or-masking-your-domain-name?pc_split_value=1

If there is another way please let us know 

Saturday 31 May 2014 2:28:16 pm

You can use masking at GoDaddy - or an Apache RewriteRule on your server.

Apache (in .htaccess file)

RewriteEngine On
RewriteCond %{HTTP_HOST}   !^yogapage\.com [NC]RewriteCond %{HTTP_HOST}   !^$RewriteRule ^/(.*)         http://dev.abc.com/Content2/cp/Yogapage/$1 [L,R]

http://httpd.apache.org/docs/2.0/misc/rewriteguide.html#url

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from