Same footer/sidebar in wordpress multisite - footer

Wondering if it is possible to use same footer file for main site and the sub sites in a wordpress multisite setup.
Thanks in advance.

Related

IIS URL Rewrite Root to SubDirectory as a permanent with masking

I have ASP.NET hosting from DiscountASP. I hosted a wordpress website in a sub-directory, namely wordpress. The domain is - let's say - ghulamustafa.com. Now I want to achieve that if I type ghulamustafa.com then it should show in the browser as ghulamustafa.com but not ghulamustafa.com/wordpress.

Zend Framework 2 index.php in root folder

I am bulding a website with zend framework 2 and a URL typically looks like this:
domain.com/public/routename/action/params
In the skeleton application i don't have index.php by default, so i created one what basically includes the index.php from the public folder.(This is absolutely not the correct solution). What works but slows down the whole website, also the redirect plugin still redirects to domain.com/public/routename/action/params insetad of domain.com/routename/action/params
How could i skip the "public" in the URLs and get the redirect plugin to work?
Either you can do this from webserver from where you can point the public folder index.php so either point the domain to zf2 you should point to zf2/public/index.php
Another way is you can use htaccess and remove the public url
You should configure your web server so that it serves from public instead of the ZF2 root folder.
Not sure if you use IIS or apache or NGiNX, so without those details it is hard to say what you need to do exactly. But it should be easy to find a 'how to' for your particular web server.
It comes down to configuring what folder should be server for that particular virtual host.
Google can help you

Wordpress blog inside an Asp.net MVC site

I have an ASP.NET MVC 3 website hosted in a shared server.
I want to create a WordPress blog in /blog (www.domain.com/blog).
I've created a Virtual Directory in my admin panel pointing to the blog directory which has all the WordPress files.
When I navigate to www.domain.com/blog, I am receiving the following error message:
Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
So:
Is it possible to have a Wordpress blog (PHP) running in /blog?
Is this approach (Virtual Directory) correct? If yes, how to fix this error?
If it is not correct, how could I get /blog running?
I'd like suggest a different approach, that I did with my project and seems to be a stable solution.
Create an area "Blog" in your existing ASP.NET MVC project.
Use this pretty simple repo to create front end of blog into that area. Ignore admin part.
https://github.com/VJAI/JustBlog
Use Wordpress API's as your data engine to to populate data in your newly created area.
https://developer.wordpress.com/docs/api/
Edit robot.txt of your original Wordpress blog and stop it from being crawled by search engines. If possible put old wordpress blog under maintenance mode as well.
You will have your new blog at www.mywebsite.com/blog
You'll need a virtual application not a directory. Furthermore, your host must have PHP configured properly for IIS; not all do this.
Lastly, you will likely need a web.config file in the blog directory to "undo" any ASP.NET configuration inherited from the root. This will be specific, based on your root app. Give it a try without worrying about this first.

Joomla URL canonicalisation

Could somebody suggest the best way to redirect the non-www to the www in Joomla? I would normally do this in the .htaccess file but I'm unsure if it's the best way to do it with dynamic websites.
Many thanks
Shaun
There is an extension to achieve this, you can find it here on the Joomla extension directory
i would do this via the .htaccess file its the best way as then Google will just index your www.xxx site.

Redirect an URL which points to a www.mydomain.com/subfolder to www.mydomain.com

Hy there
Is there any posibility to redirect an URL like "www.mydomain.com/subfolder" to www.mydomain.com"
I'm using a windows server and have the posibility to use IIS7 to do that. Does I need IIS for doing that or is there an easier way?
What I exactly want:
I have installed a CMS on /subfolder, and now the CMS is reachable under "www.mydomain.com/subfolder" but I want to have the CMS under "www.mydomain.com"
How is that possible?
thank's in advance for your help
I'm not that familiar with IIS 7, but what you're searching for can easily be done using mod_rewrite. Of course, mod_rewrite is meant for Apache but there's also a ported version of it for IIS 7. Take a look at URL Rewrite module for IIS7
Best wishes,
Fabian
Yes, you will need to use IIS - you can just point IIS to use that subfolder as the root of the site in the Basic Settings dialog.
alt text http://markashleybell.com/othercontent/img/iis.gif

Resources